Vulnerability · Published Apr 14, 2026 · Assigned by GitHub_M
CVE-2026-25125October CMS: Environment Variable Exfiltration via INI Parser Interpolation
Medium 4.9
In plain English
A medium-severity information exposure in october from octobercms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | october/rain | 4.1.10 | GHSA-g6v3-wv4j-x9hg |
| Packagist | october/rain | 3.7.14 | GHSA-g6v3-wv4j-x9hg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | < 3.7.14>= 4.0.0, < 4.1.10 |
Weakness: CWE-200, CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/octobercms/october/security/advisories/GHSA-g6v3-wv4j-x9hg x_refsource_CONFIRM