Grav session takeover through shared-cacheable media responses
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Grav from 2.0.0 before 2.2.18 and before 1.7.53.7 serves page media files, and rendered pages when lazy sessions are enabled, with the visitor's session cookie under a shared-cacheable Cache-Control header. When a shared cache such as Apache mod_cache stores these Set-Cookie responses (CWE-524), an unauthenticated remote attacker can lure a signed-in user to open a media URL with a unique query string, then request that URL to receive the cached session cookie and take over the session.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
Grav before 1.7.53.7 and 2.x before 2.2.18 serves page media files, and rendered pages when lazy sessions are enabled, with the visitor's session cookie and a shared-cacheable Cache-Control header. When a shared cache such as Apache mod_cache stores Set-Cookie responses, an attacker can lure a user signed in through the front-end login to open a media URL with a unique query string, then request that URL to receive the cached session cookie and take over the session.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Grav to 2.2.18 in the 2.x branch and to 1.7.53.7 in the 1.x branch.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA grav (getgrav) Fixed in 2.2.18
- Fix · CNA grav (getgrav) Fixed in 1.7.53.7
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
getgrav grav 2.2.18
17 records Highest priority Priority MEDIUM 14 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2026-93869 Twig injection in Grav via media metadata and file namesPriority MEDIUM 49
- TI-2026-93867 Grav authorization bypass lets publishers overwrite protected pagesPriority MEDIUM 49
- TI-2026-93883 Unbounded cache growth in Grav via the HTTP Host headerPriority MEDIUM 44
- Release ·
getgrav grav 1.7.53.7
3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-93882 Password reset poisoning in Grav lets attackers redirect reset linksPriority MEDIUM 43
- TI-2026-93881 Authentication bypass in Grav lets visitors create admin accountsPriority MEDIUM 42
Timeline
- 2026-11-18 Threatist record created from CVE-2026-130746
- 2026-11-18 Alias added: GHSA-hgmr-q2rq-fmf4
- 2026-11-19 CISA SSVC decision points changed
References
More getgrav vulnerabilities
- TI-2026-30893 Grav: Privilege Escalation via Missing Server-Side Validation of groups/access CVSS 3.1CRITICAL 9.4
- TI-2025-28971 Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to… CVSS 3.1CRITICAL 9.8
- TI-2021-04523 Unauthenticated Arbitrary YAML Write/Update leads to Code Execution CVSS 3.1CRITICAL 9.8
- TI-2026-50940 Grav CMS before 2.0.16 Origin Validation Bypass via Referer CVSS 4.0CRITICAL 9.3
- TI-2026-46446 Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData CVSS 4.0CRITICAL 9.3
- TI-2021-22428 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2) CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-130746 · CVE Program
- CVE-2026-130746 · NVD
- FIRST EPSS
- GHSA-hgmr-q2rq-fmf4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences