Skip to main content
← All vulnerabilities
CVE-2026-25125GHSA-G6V3-WV4J-X9HG

October CMS: Environment Variable Exfiltration via INI Parser Interpolation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.7.14, 4.1.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • octobercms october

    fixed in 3.7.14; From 4.0.0 · fixed in 4.1.10

  • october/rainPackagist

    From 4.0.0 · fixed in 4.1.10

  • october/rainPackagist

    fixed in 3.7.14

References 1

GitHub · octobercms/october