cvelo
P2 · HighCVSS 7.5EPSS 0.5%

Grav before 2.2.18 Session Hijacking via Shared-Cacheable Media Responses

  • CVE-2026-130746
  • GHSA-hgmr-q2rq-fmf4
  • EUVD-2026-128596

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.

Text from the CVE.org record.

Recommendation

  • getgrav grav

    • If you run a version from 2.0.0 to before 2.2.18update to 2.2.18 or laterMinor version change: check the release notes
    • If you run a version before 1.7.53.7update to 1.7.53.7 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • getgrav grav

    Affected versionsFixed in
    from 2.0.0 to before 2.2.182.2.18
    before 1.7.53.71.7.53.7

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.