CVE-2022-21705
Authenticated remote code execution in octobercms
Also known as GHSA-79jw-2f46-wv22
Mitigation
- Upgrade october/system to one of 1.0.474, 1.1.10, 2.1.27 (or later in the same release line).
Who should check
- Projects that depend on Packagist package october/system (< 1.0.474)
- Anyone running octobercms october < 1.0.474; >= 1.1.0, < 1.1.10; >= 2.0.0, < 2.1.27
Vulnerability facts
- Affected
- october/system < 1.0.474
- Fixed in
- 1.0.474, 1.1.10, 2.1.27
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 9.31% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- CWE
- CWE-74
- Modified
Description
Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. In affected versions user input was not properly sanitized before rendering. An authenticated user with the permissions to create, modify and delete website pages can exploit this vulnerability to bypass `cms.safe_mode` / `cms.enableSafeMode` in order to execute arbitrary code. This issue only affects admin panels that rely on safe mode and restricted permissions. To exploit this vulnerability, an attacker must first have access to the backend area. The issue has been patched in Build 474 (v1.0.474) and v1.1.10. Users unable to upgrade should apply https://github.com/octobercms/library/commit/c393c5ce9ca2c5acc3ed6c9bb0dab5ffd61965fe to your installation manually.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist october/system | < 1.0.474 | 1.0.474, 1.1.10, 2.1.27 | osv |
| octobercms october | < 1.0.474; >= 1.1.0, < 1.1.10; >= 2.0.0, < 2.1.27 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-21705. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-21705.md Affected: october/system < 1.0.474 Fixed in: 1.0.474, 1.1.10, 2.1.27 Steps: 1. Search this machine and project for october/system (Packagist), octobercms october: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-21705 being exploited?
There is no confirmed exploitation: CVE-2022-21705 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 9.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-21705?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-21705?
october/system < 1.0.474.
Is there a fix for CVE-2022-21705?
Yes. Fixed in 1.0.474, 1.1.10, 2.1.27. Upgrade october/system to one of 1.0.474, 1.1.10, 2.1.27 (or later in the same release line).
How do I check if I'm affected by CVE-2022-21705?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.