All vulnerabilities

Servers and applications

CVE-2026-25125

Environment Variable Exfiltration via INI Parser Interpolation

Severity
Medium 4.9
Published
14 Apr 2026
Last changed
25 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.7.14, 4.1.10
Exploit chance
0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)Information exposure (CWE-200)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Also known as
GHSA-g6v3-wv4j-x9hg
Sources
NVD, Project advisories (GitHub)

Description

A server-side information disclosure vulnerability was identified in the INI settings parser. PHP's parse_ini_string() function supports ${} syntax for environment variable interpolation. Attackers with Editor access could inject ${APP_KEY}, ${DB_PASSWORD}, or similar patterns into CMS page settings fields, causing sensitive environment variables to be resolved and stored in the template. These values were then returned to the attacker when the page was reopened.

  • Exfiltration of sensitive environment variables (APP_KEY, DB credentials, AWS keys, etc.)
  • Could enable further attacks: database access, cookie forgery, AWS resource access
  • Requires authenticated backend access with Editor permissions
  • Only relevant when cms.safe_mode is enabled (otherwise direct PHP injection is already possible)
From octobercms/october's security advisory.

Workarounds

If upgrading immediately is not possible:

  • Restrict Editor tool access to fully trusted administrators only
  • Ensure database and cloud service credentials are not accessible from the web server's network
Workarounds as given by octobercms/october's security advisory.

Affected software

SoftwareAffected versions
October CMSServers and applications · cpe:a:octobercms:october
  • Every version before 3.7.14
  • From 4.0.0 before 4.1.10
October CMSServers and applications · github:octobercms/october
  • Every version before 3.7.14

About October CMS

content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
2,621Packagist, 15 Nov 2026
Total downloads (Packagist)
1,056,452Packagist, 15 Nov 2026
GitHub stars
11,159GitHub, 15 Nov 2026
Forks
2,201GitHub, 15 Nov 2026
Latest release
v4.4.0GitHub, 15 Nov 2026
Released
30 Aug 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
15 May 2014Wikidata
First published on GitHub
26 Nov 2013GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-25125
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-25125
  • GitHub Advisory Database https://github.com/advisories/GHSA-g6v3-wv4j-x9hg
  • github.com https://github.com/octobercms/october/security/advisories/GHSA-g6v3-wv4j-x9hg