Security mailing lists by PureSourceCode

CVE-2026-25125

MEDIUM 4.9CVSS 3.1

October Rain has Environment Variable Exfiltration via INI Parser Interpolation

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.

Published
14 Apr 2026
Last modified
25 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-200CWE-94
Also known as
GHSA-g6v3-wv4j-x9hg
Sources
NVDJSONOSV GHSA-g6v3-wv4j-x9hgJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD octobercms october
cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*
< 3.7.14 3.7.14
NVD octobercms october
cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.1.10 4.1.10
OSV Packagist october/rain >= 4.0.0, < 4.1.10 4.1.10
OSV Packagist october/rain < 3.7.14 3.7.14

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 14 Apr 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.