GitHub Advisoryadvisory · Packagist
GHSA-3888-q23f-x7qh October CMS has Safe Mode Bypass via CSS Preprocessor Compilers
MEDIUM
Official page ↗
- Aliases
- CVE-2026-26067
- Ecosystem
- Packagist
- Packages
- october/system
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-184, CWE-200, CWE-22
- Reviewed
- 2026-04-21
Affected packages
• Packagist october/system: < 3.7.14 → fixed in 3.7.14
• Packagist october/system: >= 4.0.0, < 4.1.10 → fixed in 4.1.10
Description
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_mode` is 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_types` config to `['css', 'js']` to remove preprocessor file types from the editor
• Restrict Editor tool access to fully trusted administrators only
• Reported by Chris Alupului
Related
Alias · CVE (1)
- CVE-2026-26067 October is a Content Management System (CMS) and web platform. vulnerability