Object injection via unsigned cache deserialization
Published Apr 28, 2026 · Updated Apr 28, 2026
Insecure deserialization in Grav 1.7.49.0 through 1.7.49.5 and 2.0.0-beta.0 through 2.0.0-beta.1 allows object injection. FileCache::doGet passes unsigned cache-file content to unserialize with all classes allowed, enabling object instantiation and magic-method execution. Exploitation requires remote authenticated users to poison or tamper with a cache file and a plugin or downstream consumer to invoke FileCache, which is not Grav's main cache path.
Summary
What happened
Insecure deserialization in Grav 1.7.49.0 through 1.7.49.5 and 2.0.0-beta.0 through 2.0.0-beta.1 allows object injection. FileCache::doGet passes unsigned cache-file content to unserialize with all classes allowed, enabling object instantiation and magic-method execution. Exploitation requires remote authenticated users to poison or tamper with a cache file and a plugin or downstream consumer to invoke FileCache, which is not Grav's main cache path.
The record
- CVE
- CVE-2026-7317
- Published
- Apr 28, 2026
- Updated
- Apr 28, 2026
- Vendor
- Grav
- Product
- Grav
- Classifications
- CWE-20, CWE-502
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 28, 2026CVE publishedPublication date reported by the CVE source.
- Apr 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.7.49.0
- Affected versionversion=1.7.49.1
- Affected versionversion=1.7.49.2
- Affected versionversion=1.7.49.3
- Affected versionversion=1.7.49.4
- Affected versionversion=1.7.49.5
- Affected versionversion=2.0.0-beta.0
- Affected versionversion=2.0.0-beta.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Grav FileCache object-injection primitive demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo