CVE-2026-26067: October CMS has Safe Mode Bypass via CSS Preprocessor Compilers
A server-side information disclosure vulnerability was identified in the handling of CSS preprocessor files. Backend users with Editor permissions could craft .less, .sass, or .scss files that leverage the compiler's import functionality to read arbitrary files from the server. This worked even with cms.safemode enabled.
Published Apr 21, 2026 · Updated Apr 24, 2026
Affected packages
october/system
- Ecosystem
- Composer (PHP)
- Affected
- < 3.7.14
- Fixed in
- 3.7.14
- Check
composer show october/system
october/system
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.0.0, < 4.1.10
- Fixed in
- 4.1.10
- Check
composer show october/system
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A server-side information disclosure vulnerability was identified in the handling of CSS preprocessor files. Backend users with Editor permissions could craft .less, .sass, or .scss files that leverage the compiler's import functionality to read arbitrary files from the server. This worked even with cms.safe_mode enabled.
Impact
- Potential exposure of sensitive server-side files
- Requires authenticated backend access with Editor permissions
- Only relevant when
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. When cms.safe_mode is enabled, .less, .sass, and .scss files can no longer be created, uploaded, or edited across the CMS editor, media manager, and file upload interfaces. All users are encouraged to upgrade to the latest patched version.
Workarounds
If upgrading immediately is not possible:
- Set
cms.editable_asset_typesconfig to['css', 'js']to remove preprocessor file types from the editor - Restrict Editor tool access to fully trusted administrators only
- Reported by Chris Alupului
Credited to Neosprings, daftspunk.
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) entriesCVE-2026-46696
October CMS: Safe Mode Sandbox Bypass via Session Store and Forwarded Builder Calls
low3.3Sep 14, 2026CVE-2026-49400
October CMS: PHP Object Injection via Backend Widget Session Storage
low3.3Sep 14, 2026CVE-2026-27937
October CMS: Reflected XSS via DataTable Form Widget
low3.1No fixApr 21, 2026CVE-2026-29179
October CMS: Editor Sub-Permission Bypass for Asset and Blueprint File Operations
low3.3Apr 21, 2026CVE-2026-24906
October CMS has Stored XSS in Backend Editor Markup Classes
medium5.4Apr 14, 2026CVE-2026-24907
October CMS has Stored XSS in Event Log Mail Preview
medium5.4Apr 14, 2026
