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

High 7.7 Published Updated
Exploited in the wild
Not known
Fix
2.2.18, 1.7.53.7

What is CVE-2026-130746?

CVE-2026-130746 is a high-severity vulnerability in getgrav grav, published on 18 Nov 2026.

Official 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.

Weakness: CWE-524

Which versions are affected by CVE-2026-130746?

How do I fix CVE-2026-130746?

Upgrade getgrav grav to the fixed version for your release line. The advisory names 2.2.18 and 1.7.53.7.

Is CVE-2026-130746 being exploited?

There is no known exploitation of CVE-2026-130746 in the wild and no public exploit code.

Sources

Also known as GHSA-hgmr-q2rq-fmf4, GHSA-rxcr-hmmj-6j2c.

Is CVE-2026-130746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free