Skip to content

CVE-2026-49400 October CMS: PHP Object Injection via Backend Widget Session Storage

LowCVSS 3.3 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
october/system(Packagist) < 3.7.17; = v1.0.319; = v1.0.320; = v1.0.321 +167 more 3.7.17, 4.2.23 Fixed
octobercms october = < 3.7.17; = >= 4.0.0, < 4.2.23 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
october/system(Packagist) < 3.7.17 3.7.17
october/system(Packagist) = v1.0.319 No fix listed
october/system(Packagist) = v1.0.320 No fix listed
october/system(Packagist) = v1.0.321 No fix listed
october/system(Packagist) = v1.0.322 No fix listed
october/system(Packagist) = v1.0.323 No fix listed
october/system(Packagist) = v1.0.324 No fix listed
october/system(Packagist) = v1.0.325 No fix listed
october/system(Packagist) = v1.0.326 No fix listed
october/system(Packagist) = v1.0.327 No fix listed
october/system(Packagist) = v1.0.328 No fix listed
october/system(Packagist) = v1.0.329 No fix listed
october/system(Packagist) = v1.0.330 No fix listed
october/system(Packagist) = v1.0.331 No fix listed
october/system(Packagist) = v1.0.332 No fix listed
october/system(Packagist) = v1.0.333 No fix listed
october/system(Packagist) = v1.0.334 No fix listed
october/system(Packagist) = v1.0.335 No fix listed
october/system(Packagist) = v1.0.336 No fix listed
october/system(Packagist) = v1.0.337 No fix listed
october/system(Packagist) = v1.0.338 No fix listed
october/system(Packagist) = v1.0.339 No fix listed
october/system(Packagist) = v1.0.340 No fix listed
october/system(Packagist) = v1.0.341 No fix listed
october/system(Packagist) = v1.0.342 No fix listed
Show 148 more
ProductAffected versionsFixed in
october/system(Packagist) = v1.0.343 No fix listed
october/system(Packagist) = v1.0.344 No fix listed
october/system(Packagist) = v1.0.345 No fix listed
october/system(Packagist) = v1.0.346 No fix listed
october/system(Packagist) = v1.0.347 No fix listed
october/system(Packagist) = v1.0.348 No fix listed
october/system(Packagist) = v1.0.349 No fix listed
october/system(Packagist) = v1.0.350 No fix listed
october/system(Packagist) = v1.0.351 No fix listed
october/system(Packagist) = v1.0.352 No fix listed
october/system(Packagist) = v1.0.353 No fix listed
october/system(Packagist) = v1.0.354 No fix listed
october/system(Packagist) = v1.0.355 No fix listed
october/system(Packagist) = v1.0.356 No fix listed
october/system(Packagist) = v1.0.357 No fix listed
october/system(Packagist) = v1.0.358 No fix listed
october/system(Packagist) = v1.0.359 No fix listed
october/system(Packagist) = v1.0.360 No fix listed
october/system(Packagist) = v1.0.361 No fix listed
october/system(Packagist) = v1.0.362 No fix listed
october/system(Packagist) = v1.0.363 No fix listed
october/system(Packagist) = v1.0.364 No fix listed
october/system(Packagist) = v1.0.365 No fix listed
october/system(Packagist) = v1.0.366 No fix listed
october/system(Packagist) = v1.0.367 No fix listed
october/system(Packagist) = v1.0.368 No fix listed
october/system(Packagist) = v1.0.369 No fix listed
october/system(Packagist) = v1.0.370 No fix listed
october/system(Packagist) = v1.0.371 No fix listed
october/system(Packagist) = v1.0.372 No fix listed
october/system(Packagist) = v1.0.373 No fix listed
october/system(Packagist) = v1.0.374 No fix listed
october/system(Packagist) = v1.0.375 No fix listed
october/system(Packagist) = v1.0.376 No fix listed
october/system(Packagist) = v1.0.377 No fix listed
october/system(Packagist) = v1.0.378 No fix listed
october/system(Packagist) = v1.0.379 No fix listed
october/system(Packagist) = v1.0.380 No fix listed
october/system(Packagist) = v1.0.381 No fix listed
october/system(Packagist) = v1.0.382 No fix listed
october/system(Packagist) = v1.0.383 No fix listed
october/system(Packagist) = v1.0.384 No fix listed
october/system(Packagist) = v1.0.385 No fix listed
october/system(Packagist) = v1.0.386 No fix listed
october/system(Packagist) = v1.0.387 No fix listed
october/system(Packagist) = v1.0.388 No fix listed
october/system(Packagist) = v1.0.389 No fix listed
october/system(Packagist) = v1.0.390 No fix listed
october/system(Packagist) = v1.0.391 No fix listed
october/system(Packagist) = v1.0.392 No fix listed
october/system(Packagist) = v1.0.393 No fix listed
october/system(Packagist) = v1.0.394 No fix listed
october/system(Packagist) = v1.0.395 No fix listed
october/system(Packagist) = v1.0.396 No fix listed
october/system(Packagist) = v1.0.397 No fix listed
october/system(Packagist) = v1.0.398 No fix listed
october/system(Packagist) = v1.0.399 No fix listed
october/system(Packagist) = v1.0.400 No fix listed
october/system(Packagist) = v1.0.401 No fix listed
october/system(Packagist) = v1.0.402 No fix listed
october/system(Packagist) = v1.0.403 No fix listed
october/system(Packagist) = v1.0.404 No fix listed
october/system(Packagist) = v1.0.405 No fix listed
october/system(Packagist) = v1.0.406 No fix listed
october/system(Packagist) = v1.0.407 No fix listed
october/system(Packagist) = v1.0.408 No fix listed
october/system(Packagist) = v1.0.409 No fix listed
october/system(Packagist) = v1.0.410 No fix listed
october/system(Packagist) = v1.0.411 No fix listed
october/system(Packagist) = v1.0.412 No fix listed
october/system(Packagist) = v1.0.413 No fix listed
october/system(Packagist) = v1.0.414 No fix listed
october/system(Packagist) = v1.0.415 No fix listed
october/system(Packagist) = v1.0.416 No fix listed
october/system(Packagist) = v1.0.417 No fix listed
october/system(Packagist) = v1.0.418 No fix listed
october/system(Packagist) = v1.0.419 No fix listed
october/system(Packagist) = v1.0.420 No fix listed
october/system(Packagist) = v1.0.421 No fix listed
october/system(Packagist) = v1.0.422 No fix listed
october/system(Packagist) = v1.0.423 No fix listed
october/system(Packagist) = v1.0.424 No fix listed
october/system(Packagist) = v1.0.425 No fix listed
october/system(Packagist) = v1.0.426 No fix listed
october/system(Packagist) = v1.0.427 No fix listed
october/system(Packagist) = v1.0.428 No fix listed
october/system(Packagist) = v1.0.429 No fix listed
october/system(Packagist) = v1.0.430 No fix listed
october/system(Packagist) = v1.0.431 No fix listed
october/system(Packagist) = v1.0.432 No fix listed
october/system(Packagist) = v1.0.433 No fix listed
october/system(Packagist) = v1.0.434 No fix listed
october/system(Packagist) = v1.0.435 No fix listed
october/system(Packagist) = v1.0.436 No fix listed
october/system(Packagist) = v1.0.437 No fix listed
october/system(Packagist) = v1.0.438 No fix listed
october/system(Packagist) = v1.0.439 No fix listed
october/system(Packagist) = v1.0.440 No fix listed
october/system(Packagist) = v1.0.441 No fix listed
october/system(Packagist) = v1.0.442 No fix listed
october/system(Packagist) = v1.0.443 No fix listed
october/system(Packagist) = v1.0.444 No fix listed
october/system(Packagist) = v1.0.445 No fix listed
october/system(Packagist) = v1.0.446 No fix listed
october/system(Packagist) = v1.0.447 No fix listed
october/system(Packagist) = v1.0.448 No fix listed
october/system(Packagist) = v1.0.449 No fix listed
october/system(Packagist) = v1.0.450 No fix listed
october/system(Packagist) = v1.0.451 No fix listed
october/system(Packagist) = v1.0.452 No fix listed
october/system(Packagist) = v1.0.453 No fix listed
october/system(Packagist) = v1.0.454 No fix listed
october/system(Packagist) = v1.0.455 No fix listed
october/system(Packagist) = v1.0.456 No fix listed
october/system(Packagist) = v1.0.457 No fix listed
october/system(Packagist) = v1.0.458 No fix listed
october/system(Packagist) = v1.0.459 No fix listed
october/system(Packagist) = v1.0.460 No fix listed
october/system(Packagist) = v1.0.461 No fix listed
october/system(Packagist) = v1.0.462 No fix listed
october/system(Packagist) = v1.0.463 No fix listed
october/system(Packagist) = v1.0.464 No fix listed
october/system(Packagist) = v1.0.465 No fix listed
october/system(Packagist) = v1.0.466 No fix listed
october/system(Packagist) = v1.0.467 No fix listed
october/system(Packagist) = v1.0.468 No fix listed
october/system(Packagist) = v1.0.469 No fix listed
october/system(Packagist) = v1.0.470 No fix listed
october/system(Packagist) = v1.0.471 No fix listed
october/system(Packagist) = v1.0.472 No fix listed
october/system(Packagist) = v1.0.473 No fix listed
october/system(Packagist) = v1.0.474 No fix listed
october/system(Packagist) = v1.0.475 No fix listed
october/system(Packagist) = v1.0.476 No fix listed
october/system(Packagist) = v1.1.0 No fix listed
october/system(Packagist) = v1.1.1 No fix listed
october/system(Packagist) = v1.1.10 No fix listed
october/system(Packagist) = v1.1.11 No fix listed
october/system(Packagist) = v1.1.12 No fix listed
october/system(Packagist) = v1.1.2 No fix listed
october/system(Packagist) = v1.1.3 No fix listed
october/system(Packagist) = v1.1.4 No fix listed
october/system(Packagist) = v1.1.5 No fix listed
october/system(Packagist) = v1.1.6 No fix listed
october/system(Packagist) = v1.1.9 No fix listed
october/system(Packagist) >= 4.0.0, < 4.2.23 4.2.23
octobercms october = < 3.7.17 No fix listed
octobercms october = >= 4.0.0, < 4.2.23 No fix listed

References