NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 4.9GHSA-g6v3-wv4j-x9hg

A server-side information disclosure vulnerability was identified in the INI settings parser. PHP's parseinistring() function supports ${} syntax for environment variable interpolation. Attackers with Editor access could inject ${APPKEY}, ${DBPASSWORD}, or similar patterns into CMS page settings fields, causing sensitive environment variables to be resolved and stored in the template.

Published Apr 14, 2026 · Updated Jun 16, 2026

Affected packages

october/rain

Ecosystem
Composer (PHP)
Affected
>= 4.0.0, <= 4.1.9
Fixed in
4.1.10
Check
composer show october/rain

october/rain

Ecosystem
Composer (PHP)
Affected
<= 3.7.13
Fixed in
3.7.14
Check
composer show october/rain

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Impact

  • Exfiltration of sensitive environment variables (APP_KEY, DB credentials, AWS keys, etc.)
  • Could enable further attacks: database access, cookie forgery, AWS resource access
  • Requires authenticated backend access with Editor permissions
  • Only relevant when cms.safe_mode is enabled (otherwise direct PHP injection is already possible)

Patches

The vulnerability has been patched in v3.7.14 and v4.1.10. All users are encouraged to upgrade to the latest patched version.

Workarounds

If upgrading immediately is not possible:

  • Restrict Editor tool access to fully trusted administrators only
  • Ensure database and cloud service credentials are not accessible from the web server's network

References

  • Reported by Pentest-Tools.com

Credited to daftspunk, mbadanoiu.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries