Advisory

GHSA-3888-q23f-x7qh

Also known as: CVE-2026-26067

Summary

October CMS has Safe Mode Bypass via CSS Preprocessor Compilers

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-21 16:43 UTC
Modified
2026-05-05 15:59 UTC

Affected packages and fixes

october/system

Packagist · All systems

Affected

  • introduced 0, fixed 3.7.14 (ecosystem)

Fixed versions

3.7.14

Fix

The export has no generic command for this ecosystem.

october/system

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.1.10 (ecosystem)

Fixed versions

4.1.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences