CVE-2026-26067
JSON

4.9medium

October: Safe Mode Bypass via CSS Preprocessor Compilers

Severity
4.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 29% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-3888-q23f-x7qh

Description

October is a Content Management System (CMS) and web platform. Prior to 3.7.14 and 4.1.10, 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. This vulnerability is fixed in 3.7.14 and 4.1.10.

Affected

Product or packageVersionsReported by
octobercms october>= 4.0.0, < 4.1.10, < 3.7.14CVE List
october/system (Packagist)before 3.7.14, from 4.0.0 before 4.1.10GitHub Advisory Database

All scores

GitHub_M4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22CWE-184CWE-200CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

October is a Content Management System (CMS) and web platform. Prior to 3.7.14 and 4.1.10, 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. This vulnerability is fixed in 3.7.14 and 4.1.10.

GitHub Advisory Database

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

NVD (es)

October es un Sistema de Gestión de Contenidos (CMS) y plataforma web. Antes de las versiones 3.7.14 y 4.1.10, fue identificada una vulnerabilidad de revelación de información del lado del servidor en el manejo de archivos de preprocesador CSS. Usuarios de backend con permisos de Editor podían crear archivos .less, .sass o .scss que aprovechan la funcionalidad de importación del compilador para leer archivos arbitrarios del servidor. Esto funcionaba incluso con cms.safe_mode habilitado. Esta vulnerabilidad está corregida en las versiones 3.7.14 y 4.1.10.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26067 changed 2026-04-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-3888-q23f-x7qh changed 2026-05-05CC-BY-4.0
NVDCVE-2026-26067 changed 2026-10-26Public domain