Skip to content
OpenAdvisories
Medium · 6.2 CVE-2022-35944 EUVD-2022-7180GHSA-x4q7-m6fp-4v9v

October CMS Safe Mode bypass leads to authenticated RCE (Remote Code Execution)

Published Oct 13, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

October is a self-hosted Content Management System (CMS) platform based on the Laravel PHP Framework. This vulnerability only affects installations that rely on the safe mode restriction, commonly used when providing public access to the admin panel. Assuming an attacker has access to the admin panel and permission to open the "Editor" section, they can bypass the Safe Mode (`cms.safe_mode`) restriction to introduce new PHP code in a CMS template using a specially crafted request. The issue has been patched in versions 2.2.34 and 3.0.66.

Affected products

VendorProductAffectedFixed
octobercms october >= 3.0.0, < 3.0.66, < 2.2.34 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist october/system >= 2.0.0, < 2.2.34 2.2.34 GHSA-x4q7-m6fp-4v9v
Packagist october/system >= 3.0.0, < 3.0.66 3.0.66 GHSA-x4q7-m6fp-4v9v

References