Servers and applications
CVE-2026-49400
PHP Object Injection via Backend Widget Session Storage
- Severity
- Low 3.3
- Published
- 13 Sept 2026
- Last changed
- 13 Sept 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 3.7.17
- Exploit chance
- 0.2% in the next 30 daysHigher than 14% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Only under certain conditions · Needs an administrator account · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N- Also known as
- GHSA-2ff2-mx52-q8wp
- Sources
- Project advisories (GitHub)
Description
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.
Workarounds
If upgrading immediately is not possible, restrict CMS markup editing access to fully trusted administrators only, the standard October CMS recommendation for any deployment.
Affected software
| Software | Affected versions |
|---|---|
October CMSServers and applications · github:octobercms/october |
|
About October CMS
content management system
- Monthly downloads (Packagist)
- 2,621Packagist, 15 Nov 2026
- Total downloads (Packagist)
- 1,056,452Packagist, 15 Nov 2026
- GitHub stars
- 11,159GitHub, 15 Nov 2026
- Forks
- 2,201GitHub, 15 Nov 2026
- Latest release
- v4.4.0GitHub, 15 Nov 2026
- Released
- 30 Aug 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- PHPWikidata
- First released
- 15 May 2014Wikidata
- First published on GitHub
- 26 Nov 2013GitHub
Vulnerabilities in October CMS
- In our list
- 75
- Published in the last 12 months
- 27
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 1
- GHSA-9f5r-p27v-x2chRole Reorder Authorization Bypass in UserRoles ControllerLow 3.8 1 Nov 2026
- GHSA-wjf7-8r24-63wrOS Command Injection via Sendmail Path Mail SettingLow 3.8 1 Nov 2026
- GHSA-8qmj-6mj5-55pmStored XSS via Untrusted Client Filename Extension in Attachment Disk NameMedium 5.4 1 Nov 2026
- GHSA-5f36-p2f5-rc5wStored XSS in Mail Template Preview via Unsandboxed IframeLow 3.5 1 Nov 2026
- GHSA-5w43-pp8c-gr85Backend Session ID Not Regenerated on Login (Session Fixation)Low 3.1 1 Nov 2026
- GHSA-g59g-hg2r-22vpEditor Filesystem Rename Bypasses SVG SanitizationLow 3.1 15 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-49400
- GitHub Advisory Database https://github.com/advisories/GHSA-2ff2-mx52-q8wp
- github.com https://github.com/octobercms/october/security/advisories/GHSA-2ff2-mx52-q8wp