Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/rain
  4. ›
  5. CVE-2026-25125

CVE-2026-25125: October Rain has Environment Variable Exfiltration via INI Parser Interpolation

April 14, 2026 (updated May 8, 2026)

A server-side information disclosure vulnerability was identified in the INI settings parser. PHP’s parse_ini_string() function supports ${} syntax for environment variable interpolation. Attackers with Editor access could inject ${APP_KEY}, ${DB_PASSWORD}, or similar patterns into CMS page settings fields, causing sensitive environment variables to be resolved and stored in the template. These values were then returned to the attacker when the page was reopened.

References

  • github.com/advisories/GHSA-g6v3-wv4j-x9hg
  • github.com/octobercms/october
  • github.com/octobercms/october/security/advisories/GHSA-g6v3-wv4j-x9hg
  • nvd.nist.gov/vuln/detail/CVE-2026-25125

Code Behaviors & Features

Detect and mitigate CVE-2026-25125 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.14, all versions starting from 4.0.0 before 4.1.10

Fixed versions

  • 4.1.10
  • 3.7.14

Solution

Upgrade to versions 3.7.14, 4.1.10 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/october/rain/CVE-2026-25125.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:46 +0000.