CVE-2026-25125: October CMS information disclosure in INI settings parser

CVE-2026-25125 · Severity: medium · CVSS 4.9 · Published 2026-04-14

October CMS is a popular platform used for building and managing websites. A security flaw allows users with "Editor" permissions to trick the system into revealing sensitive server secrets, such as database passwords and cloud service keys. This could allow an attacker to gain full access to the site's database or other connected cloud infrastructure.

Technologies: October CMS, october/rain (Packagist). Vendors: October CMS, Packagist.

Quick answers

Is CVE-2026-25125 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-25125 being exploited in the wild.
How severe is CVE-2026-25125?
Medium severity, with a CVSS score of 4.9, published 14 April 2026.
Which products and versions are affected?
October CMS < 3.7.14, >= 4.0.0, < 4.1.10, <= 3.7.13, >= 4.0.0, <= 4.1.9; october/rain (Packagist) ECOSYSTEM:introduced=4.0.0,fixed=4.1.10.
Is there a fix for CVE-2026-25125?
Yes. october/rain (Packagist): upgrade to 4.1.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-25125 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-25125?
Check whether you run October CMS or october/rain (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • october/rain (Packagist): upgrade to 4.1.10 or later
    composer require october/rain:^4.1.10

Technical details

A server-side information disclosure vulnerability exists in the October CMS INI settings parser due to the use of PHP's parse_ini_string() function, which supports ${} syntax for environment variable interpolation. An authenticated attacker with Editor-level access can inject patterns like ${APP_KEY} or ${DB_PASSWORD} into CMS page settings fields. When the page is saved and reopened, the system resolves these variables and displays their values, allowing for the exfiltration of sensitive secrets. This vulnerability specifically impacts installations where 'cms.safe_mode' is enabled (as PHP injection is otherwise possible) and has been patched in versions 3.7.14 and 4.1.10.

Affected products

  • October CMS October CMS < 3.7.14, >= 4.0.0, < 4.1.10

Identifiers

  • CVE-2026-25125
  • GHSA-g6v3-wv4j-x9hg

Timeline

  • 2026-04-14: disclosed
  • 2026-04-14: advisory
  • 2026-04-14: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.