PT-2026-54048 · Grav Cms · Grav Cms
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Grav CMS versions prior to 2.0.0-beta.2
Description
Multiple issues allow for code execution. Three unsafe
unserialize() calls within SchedulerJobQueue, FrameworkCacheAdapterFileCache, and Session deserialize untrusted data without restricting allowed classes. This enables PHP object injection which, through a gadget chain, allows arbitrary code execution when an attacker controls the serialized input. Additionally, the InstallCommand function performs a git clone operation that passes the branch, url, and path parameters into a shell command without escaping, leading to OS command injection during plugin or theme installation for users with admin access. A server-side template injection is also possible via a Twig security blocklist bypass.Recommendations
Update to version 2.0.0-beta.2.
Exploit
Fix
RCE
OS Command Injection
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Grav Cms