Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-25125

MEDIUM 4.9EPSS 28%

October CMS: Environment Variable Exfiltration via INI Parser Interpolation

Also known as GHSA-g6v3-wv4j-x9hg

Mitigation

  • Upgrade october/rain to one of 4.1.10, 3.7.14 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package october/rain (>= 4.0.0, < 4.1.10)
  • Anyone running octobercms october < 3.7.14; >= 4.0.0, < 4.1.10

Vulnerability facts

Affected
october/rain >= 4.0.0, < 4.1.10
Fixed in
4.1.10, 3.7.14
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
4.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
CWE
CWE-200, CWE-94
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Packagist october/rain>= 4.0.0, < 4.1.104.1.10, 3.7.14osv
octobercms october< 3.7.14; >= 4.0.0, < 4.1.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-25125. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-25125.md
Affected: october/rain >= 4.0.0, < 4.1.10
Fixed in: 4.1.10, 3.7.14

Steps:
1. Search this machine and project for october/rain (Packagist), octobercms october: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-25125 being exploited?

There is no confirmed exploitation: CVE-2026-25125 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-25125?

Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-25125?

october/rain >= 4.0.0, < 4.1.10.

Is there a fix for CVE-2026-25125?

Yes. Fixed in 4.1.10, 3.7.14. Upgrade october/rain to one of 4.1.10, 3.7.14 (or later in the same release line).

How do I check if I'm affected by CVE-2026-25125?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors