CVE-2026-130746 PUBLISHED

Grav before 2.2.18 Session Hijacking via Shared-Cacheable Media Responses

Assigner: VulnCheck
Reserved: 17.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.7

Product Status

Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 2.0.0 to 2.2.18 (excl.)
  • Version 2.2.18 is unaffected
Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 0 to 1.7.53.7 (excl.)
  • Version 1.7.53.7 is unaffected

References

Problem Types

  • Use of Cache Containing Sensitive Information CWE