# CVE-2026-25125: October CMS: Environment Variable Exfiltration via INI Parser Interpolation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.9
- **CVSS:** 4.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.42% (percentile 28, 2026-11-28)
- **CWE:** CWE-200, CWE-94
- **Aliases:** GHSA-g6v3-wv4j-x9hg
- **Published:** 2026-04-14T20:39:59.164Z
- **Modified:** 2026-07-25T11:10:00.100Z

## 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

## 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

- Packagist `october/rain`: affected \>= 4.0.0, \< 4.1.10; fixed 4.1.10, 3.7.14 (osv)
- octobercms october: \< 3.7.14; \>= 4.0.0, \< 4.1.10 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/octobercms/october/security/advisories/GHSA-g6v3-wv4j-x9hg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-25125>
- other: <https://github.com/octobercms/october>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-25125>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g6v3-wv4j-x9hg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-25125> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-25125>
