{"answers":{"affected":"4 open source packages ship an affected version, including october/system.","exploited":"There is no known exploitation of CVE-2026-49400 in the wild and no public exploit code.","fix":"Upgrade october/system to a fixed version for your release line: 3.7.17 or 4.2.23.","what":"CVE-2026-49400 is a low-severity unsafe deserialization vulnerability in octobercms october, published on 14 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49400 and fix it if it is affected.\n\nWhat it is: CVE-2026-49400 is a low-severity unsafe deserialization vulnerability in octobercms october, published on 14 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49400 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- october/system (Packagist): affected all versions; fixed in 3.7.17\n- october/system (Packagist): affected all versions; fixed in 3.7.17\n- october/system (Packagist): affected from 4.0.0; fixed in 4.2.23\n- october/system (Packagist): affected from 4.0.0; fixed in 4.2.23\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49400/ (Markdown: https://insights.sbomify.com/CVE-2026-49400/index.md)","id":"CVE-2026-49400","markdown":"https://insights.sbomify.com/CVE-2026-49400/index.md","name":"CVE-2026-49400","record":{"aliases":["GHSA-2ff2-mx52-q8wp"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"October CMS","requires_auth":"high_privilege","summary":"Attackers can achieve arbitrary code execution via PHP object injection in October CMS when Safe Mode is enabled.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.3,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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 =\u003e 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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"October CMS: PHP Object Injection via Backend Widget Session Storage","id":"CVE-2026-49400","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Deno Permission Bypass via Unicode Normalization Mismatch on macOS (APFS)","id":"CVE-2026-49401"},"packages":[{"ecosystem":"Packagist","fixed":["3.7.17"],"introduced":["0"],"last_affected":[],"package":"october/system","purl":null,"source":"GHSA-2ff2-mx52-q8wp"},{"ecosystem":"Packagist","fixed":["3.7.17"],"introduced":["0"],"last_affected":[],"package":"october/system","purl":"pkg:composer/october/system","source":"GHSA-2ff2-mx52-q8wp"},{"ecosystem":"Packagist","fixed":["4.2.23"],"introduced":["4.0.0"],"last_affected":[],"package":"october/system","purl":null,"source":"GHSA-2ff2-mx52-q8wp"},{"ecosystem":"Packagist","fixed":["4.2.23"],"introduced":["4.0.0"],"last_affected":[],"package":"october/system","purl":"pkg:composer/october/system","source":"GHSA-2ff2-mx52-q8wp"}],"prev":{"headline":"Nezha's private services (`EnableShowInService: false`) are enumerable via per-server endpoints, leaking name and timing data","id":"CVE-2026-49397"},"products":["october"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["octobercms"]},"summary":"Attackers can achieve arbitrary code execution via PHP object injection in October CMS when Safe Mode is enabled.","url":"https://insights.sbomify.com/CVE-2026-49400/"}