CVE-2026-49400
Last modified
CVE-2026-49400 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. October System provides the system module for October Content Management System. Prior to versions 3.7.17 and 4.2.21, the backend `SessionMaker` trait stored widget session state as `base64(serialize(...))` and consumed it with `unserialize()` without an `allowed_classes` restriction. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
October System provides the system module for October Content Management System. Prior to versions 3.7.17 and 4.2.21, the backend `SessionMaker` trait stored widget session state as `base64(serialize(...))` and consumed it with `unserialize()` without an `allowed_classes` restriction. Any code path that could write to a `widget.*` session key with attacker-controlled bytes could trigger PHP object injection the next time the widget read its session state, allowing instantiation of arbitrary classes and reachable PHP gadget chains. This issue only affects installations running with `cms.safe_mode` enabled. Safe Mode is a niche opt-in feature, primarily used for demo installations and multi-tenant or shared-editor scenarios where untrusted users are deliberately granted access to the CMS markup editor. In standard production deployments Safe Mode is off, backend access is restricted to trusted administrators, and a markup editor can already execute arbitrary PHP directly. The session-write path that reaches this sink is gated by the Safe Mode sandbox, so installations without Safe Mode enabled are not exposed. Scope of impact is narrow even with Safe Mode enabled. The standard backend code paths that populate widget session state (search terms, sort options, selected IDs, filter values) wrap the input inside a known array shape before serializing, so user-supplied values never reach `unserialize()` as a controllable serialized payload. Exploitation requires the Safe Mode session-write path together with a suitable PHP gadget chain reachable from the installed dependency set. The hardening below removes the underlying object-injection sink so the class of issue is closed off regardless. The vulnerability has been patched in v3.7.17 and v4.2.21. Two changes were applied. `Backend\Traits\SessionMaker` now stores widget session state as plain JSON instead of `base64(serialize(...))`, eliminating the object-injection sink entirely for new writes. Reads transparently fall back to the legacy format for one upgrade cycle so existing sessions retain their saved widget state. The legacy `unserialize()` fallback path now sets `allowed_classes => false`, so even values written before the upgrade cannot instantiate objects. As a workaround, restrict CMS markup editing access to fully trusted administrators only, the standard October CMS recommendation for any deployment.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| octobercms | october | < 3.7.17; >= 4.0.0, < 4.2.23 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-49400?
How severe is CVE-2026-49400?
How do I fix CVE-2026-49400?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49386In JetBrains YouTrack before 2026.1.13570 improper access co…6.5
- CVE-2026-49391Frappe is a full-stack web application framework. Prior to 1…5.1
- CVE-2026-49392Wazuh is a free and open source platform used for threat pre…5.3
- CVE-2026-49394Frappe is a full-stack web application framework. Prior to 1…7.1
- CVE-2026-49396Nezha Monitoring is a self-hostable, lightweight, servers an…7.1
- CVE-2026-49397Nezha Monitoring is a self-hostable, lightweight, servers an…5.3
- CVE-2026-49401Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…8.4
- CVE-2026-49402Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…8.1
- CVE-2026-49406Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…5.5
- CVE-2026-49411Deno is a JavaScript, TypeScript, and WebAssembly runtime. P…6.5
- CVE-2026-49412The kernel handler for IPV6_MSFILTER dropped a serializing l…7.8
- CVE-2026-49413The Linuxulator determined whether a binary was set-user-ID …7.1
Are you affected by CVE-2026-49400?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
