Skip to main content

Grav CMS EUVDEUVD-2026-128596

| CVE-2026-130746 HIGH
Use of Cache Containing Sensitive Information (CWE-524)
2026-11-18 VulnCheck GHSA-hgmr-q2rq-fmf4
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure signed-in front-end user to crafted media URL
  2. Delivery
    Shared cache stores Set-Cookie response under attacker-known URL
  3. Exploit
    Attacker requests same cached URL
  4. Execution
    Cache returns victim's session cookie
  5. Impact
    Hijack authenticated session with victim's privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Cache-Control for sensitive pages
Exploitation Conditions

Exploitation requires a shared HTTP cache placed in front of Grav that stores Set-Cookie responses - the advisory explicitly names Apache mod_cache with a plain CacheEnable as vulnerable, while nginx proxy_cache and Varnish in their default configurations are documented to refuse such responses and are therefore unlikely to be affected. The victim must be authenticated via the front-end /login form; users who only authenticated to Admin2 with API tokens are not exposed. Media-file URLs are affected unconditionally, whereas leakage of rendered pages additionally requires system.session.lazy to be enabled. Limiting factors that reduce realistic risk: the non-default cache configuration, the front-end-login requirement, the need for the victim to open the attacker's crafted top-level URL (SameSite=Lax permits the cookie on that navigation), and the default 30-minute session lifetime bounding the takeover window.

Impact

This is a genuine but conditional session-hijacking flaw, best treated as an elevated-but-not-emergency priority consistent with the input's 'this_week' decision label. The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H, score 7.7) correctly captures the tension: the attacker is remote and unauthenticated (PR:N) and the impact is full takeover of a signed-in session (VC/VI/VA:H), yet two signals hold real-world risk down - AT:P reflects a required environmental precondition (a shared cache that stores Set-Cookie responses) and UI:P reflects that a victim must open the attacker's crafted URL. No CISA KEV entry is present and no EPSS score was supplied, so widespread automated exploitation cannot be inferred; exploitation is realistically targeted, requiring the attacker to both lure a specific front-end-authenticated user and operate against a site fronted by a vulnerable cache configuration. The vendor itself rates it High rather than Critical for exactly these reasons. The key gating fact, confirmed by the advisory, is that common cache setups (nginx proxy_cache, Varnish defaults) refuse cookie-bearing responses, while Apache mod_cache with a plain CacheEnable is explicitly vulnerable - so real exposure depends heavily on deployment. Net: a real priority to patch for Grav operators running Apache mod_cache or similar shared caches, but lower practical risk for default nginx/Varnish deployments.

Exploit ScenarioDerived

An attacker lures a user who is signed in through Grav's front-end /login form to open a crafted page-media URL carrying a unique query string (e.g. /typography/manual.pdf?x=1); behind a shared cache such as Apache mod_cache the response carrying the victim's Set-Cookie is stored under that URL. The attacker then requests the same URL, receives the cached session cookie, and is accepted by the site as that user - demonstrated in the advisory's reproducer returning super_admin:true. No public exploit code has been published, though the vendor advisory describes a working reproducer, and CVSS AT:P/UI:P indicate a required cache precondition plus victim interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Session hijacking in Grav CMS (1.7 up to and including 1.7.53.6, and 2.0.0 through 2.2.17) allows an anonymous visitor to obtain a signed-in front-end user's session cookie from a shared HTTP cache and act as that user. Grav serves page media files - and rendered pages when system.session.lazy is enabled - with the visitor's Set-Cookie header alongside a week-long shared-cacheable Cache-Control, so a cache that stores cookie-bearing responses hands one user's session to whoever requests the same URL next. The independent assessment scores this CVSS:3.1 7.5 (AV:N/AC:H/PR:N/UI:R) rather than the CNA's 7.7, reflecting that exploitation requires a non-default cache configuration that stores Set-Cookie responses (the advisory names Apache mod_cache with a plain CacheEnable), a victim signed in through the front-end /login form, and that victim opening an attacker-supplied URL; no public exploit tooling is identified in the provided sources and there is no KEV entry, and the vendor has released fixed versions 2.2.18 and 1.7.53.7.

RemediationAI

Vendor-released patches fix this in Grav 2.2.18 and 1.7.53.7; upgrading to either release marks every response carrying Set-Cookie as private, drops any public or s-maxage directive, and preserves other directives already present (such as no-store) plus a shorter max-age, enforced for media downloads, regular and Flex pages, and again where PHP sends the final headers so explicit cache_control values and late header changes are covered. Responses without a cookie remain cacheable, so publishing behaviour is largely unchanged. Where upgrading is not immediately possible, the advisory's workaround is to configure the shared cache not to store Set-Cookie headers or not to cache responses that set cookies - for Apache mod_cache, CacheIgnoreHeaders Set-Cookie - at the cost of those responses no longer being cached, or alternatively to serve static media from a path that bypasses Grav entirely. Because the leak is bounded by the default 30-minute session lifetime, shortening it reduces the takeover window but does not remove the exposure; the vendor treats the header change in the fixed releases as the complete fix. Advisory: https://github.com/getgrav/grav/security/advisories/GHSA-rxcr-hmmj-6j2c

Affected VersionsENISA

grav 2.0.0 <2.2.18
grav 0 <1.7.53.7

Affected Packages

euvd grav fix: 1.7.53.7, 2.2.18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a cache-poisoning-style information disclosure mapped to CWE-524 (use of a cache containing sensitive information) and CWE-200. Every Grav request starts a session, and the session layer re-sends the cookie of a visitor who already has one. When a file in a page folder is served through the media fallback, Utils::download() replaces the restrictive headers PHP set for the session with Cache-Control: max-age=604800 (without private) and Pragma: cache, so a response carrying Set-Cookie is emitted as cacheable by anyone; the page header code applies the same directive to rendered pages, which leak the same way only when system.session.lazy is on. The query string forms part of the cache key but is ignored when a file is downloaded, so an attacker-chosen unique URL such as /typography/manual.pdf?x=1 stores the victim's session under a URL only the attacker knows, and the required click is a top-level navigation on which browsers send the SameSite=Lax session cookie. In the default configuration the leak also affects cookieless visitors: the cache stores the fresh session it creates for a first anonymous visitor and serves the same session to later visitors of that URL. Exposure is gated by the cache implementation - Apache mod_cache with a plain CacheEnable is documented as vulnerable, while nginx proxy_cache and Varnish in their defaults are documented to refuse such responses and are therefore unlikely to be affected - and by the authentication path, since only users signed in via the front-end /login (front-end members, plus administrators who also use the front-end login) are exposed, while users who only authenticated to Admin2 with API tokens are not. The CNA's CVSS:4.0 vector (AT:P/UI:P) and the assessed CVSS:3.1 vector (AC:H/UI:R) both encode these prerequisites rather than any timing or attacker-uncontrolled condition; the default 30-minute session lifetime bounds the takeover window.

Know when Grav gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
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
vuln.today AI 7.5 HIGH

Remote unauthenticated attacker (AV:N/PR:N), but the required non-default shared-cache-storing-Set-Cookie precondition and victim click force AC:H and UI:R; full session takeover yields C/I/A High.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 13:02 EUVD
CVE Published
Nov 18, 2026 - 11:34 cve.org
HIGH 7.7

DescriptionCVE.org

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.

Technical POC Analysis

Evidence note: the supplied material is the GitHub advisory GHSA-rxcr-hmmj-6j2c only.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Grav CMS, a content management system used across our web properties, contains a high-severity session hijacking flaw (CVE-2026-130746) affecting versions 1.7 through 1.7.53.6 and 2.0.0 through 2.2.17. Under a specific shared-cache misconfiguration, an attacker could obtain a signed-in user's session and impersonate them, potentially exposing content and account access. While exploitation requires non-default caching and user interaction, leadership should care because it can undermine trust in our public-facing login experiences and, if exploited, could elevate privileges on our web platforms.

Business Impact: High
Compensating Controls

Disable shared HTTP caching of Set-Cookie responses (e.g., correct Apache mod_cache CacheEnable rules) and avoid enabling system.session.lazy until upgraded; monitor for vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche open-source flat-file CMS, limited enterprise footprint versus WordPress/Drupal
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy