CVE-2026-25125Octobercms October
Medium 4.9
Follow: this CVE · Octobercms · Octobercms October We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 3.1
- 4.9
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 14, 2026
- Updated
- Jul 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for October.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | october/rain |
≥ 4.0.0 < 4.1.10 |
4.1.10 |
composer require "october/rain:^4.1.10" |
| Packagist | october/rain |
< 3.7.14 |
3.7.14 |
composer require "october/rain:^3.7.14" |
Per OSV / GitHub Advisories (GHSA-g6v3-wv4j-x9hg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | < 3.7.14 |
| octobercms | october | ≥ 4.0.0 < 4.1.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory