October Rain has Environment Variable Exfiltration via INI Parser Interpolation
Moderate severity
GitHub Reviewed
Published
Apr 14, 2026
in
octobercms/october
•
Updated Apr 14, 2026
Package
Affected versions
>= 4.0.0, <= 4.1.9
<= 3.7.13
Patched versions
4.1.10
3.7.14
Description
Published by the National Vulnerability Database
Apr 14, 2026
Published to the GitHub Advisory Database
Apr 14, 2026
Reviewed
Apr 14, 2026
Last updated
Apr 14, 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.Impact
cms.safe_modeis 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:
References
References