Skip to content

CVE-2026-130746 Grav before 2.2.18 Session Hijacking via Shared-Cacheable Media Responses

HighCVSS 7.7 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
getgrav/grav < 1.7.53.7; >= 2.0.0, < 2.2.18 1.7.53.7, 2.2.18 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav >= 2.0.0, < 2.2.18 2.2.18
getgrav/grav < 1.7.53.7 1.7.53.7

References