Skip to main content

Grav CMS CVE-2026-130749

| EUVDEUVD-2026-128599 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-18 VulnCheck GHSA-jvw6-jg2r-9rjg
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach Grav via default front end
  2. Delivery
    Send requests with distinct Host headers
  3. Exploit
    Grav writes per-host compiled + page-index caches
  4. Execution
    Repeat to amplify ~1000x onto disk
  5. Impact
    Disk fills, sessions/uploads/logging fail

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a web front end that routes unknown/arbitrary Host header values to Grav - the advisory confirms the shipped nginx.conf (a single 'server_name localhost' used as the default server) and a default Apache virtual host both do this; a strict 'server_name' (nginx) or 'ServerName' with a catch-all error vhost (Apache) prevents it entirely and is the complete mitigation. The page-index amplification path is most severe with the file cache driver, which is the default when APCu is not available. No authentication is required (PR:N confirmed by the CVSS vector) and no user interaction is needed, but the self-limiting factor is that cache purge removes page-index entries older than system.cache.purge_max_age_days (30 days) and compiled files older than 60 days, and a manual 'bin/grav clearcache' restores service - so the condition is recoverable storage exhaustion, not permanent damage.

Impact

Multiple signals converge on a genuine but bounded availability risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms a network-reachable, low-complexity, unauthenticated vector with no user interaction, and the impact is isolated to availability (VA:H) with no confidentiality, integrity, or subsequent-system impact - consistent with the CWE-770/CWE-400 resource-exhaustion classification. The vuln.today decision label is 'this_week' (not act_now/emergency), which fits a disruptive-but-recoverable storage-exhaustion flaw. No CISA KEV listing and no EPSS score were supplied, so there is no evidence of active or probable widespread exploitation; this is 'no public exploit identified at time of analysis,' though the vendor GHSA advisory documents a concrete reproduction methodology and byte-level measurements (e.g., ~520 KiB written per distinct Host, 643,128 bytes from a single 64-byte request), lowering the bar for an attacker to reproduce it. A key nuance: the advisory explicitly states this is resource amplification (~1000x request-to-disk), not request-volume DoS, so a low-bandwidth attacker can fill a disk - this raises practical risk relative to typical DoS. The main mitigating factor is that exploitation requires a front end that routes unknown Host values to Grav; strict server_name/ServerName neutralizes it. Net: a real priority for exposed default deployments, but an environmental/config dependency and the self-clearing (cache-purge) nature keep it below critical urgency.

Exploit ScenarioDerived

An anonymous attacker sends a stream of HTTP requests to a Grav site, each carrying a distinct, attacker-chosen Host header value. Because Grav derives its config environment and page-index namespace from the raw Host with no trusted-host allowlist, each new value causes roughly half a megabyte or more of redundant compiled-config and page-index cache files to be written, and the attacker repeats until the disk fills and sessions, uploads, logging, and cache writes fail. No public weaponized exploit is identified, but the vendor advisory provides detailed reproduction measurements that make replication straightforward against a default-configured front end.

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

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

Alert me

AnalysisAIv1 – Nov 18, 2026

Disk exhaustion in Grav CMS 2.x (2.0.0 through 2.2.17) lets an unauthenticated remote attacker inflate storage use roughly a thousandfold per request by sending HTTP requests with varying Host header values, since Grav names its compiled configuration, blueprint and language caches after the raw host and additionally stores a separate page-index copy per distinct host namespace. On the reporter's reproduction against 2.2.16, 30 distinct hosts grew the compiled cache from about 1.1 MB to 16.3 MB (roughly 520 KiB per host, with a same-host control showing no growth), and six invented hosts produced six page-index namespaces totalling about 5 MB on a 300-post site using the default file cache driver. Impact is availability only - no code execution, data exposure or privilege change - and service is restored by clearing the cache (bin/grav clearcache), so this is recoverable storage exhaustion rather than permanent damage; no public exploit code has been released, with the advisory instead documenting the reporter's own reproduction with distinct Host headers, and there is no confirmed active exploitation (CISA KEV).

RemediationAI

Vendor-released patch: Grav 2.2.18. Upgrade to 2.2.18, which makes request-derived environments lacking an environment folder share a single cache identity based on their stream configuration while keeping real environment folders and explicitly selected environments distinct, and removes the host dependency from the page-index namespace except where frontmatter Twig is enabled. Be aware of two side effects before deploying: the public setup.environment and config.environment values change for hosts without an environment folder, and per-host rendered cache entries containing absolute URLs are not bounded by the fix. Because that residual path exists, the advisory treats web-server host pinning as the complete mitigation and recommends it alongside or instead of upgrading - set a strict server_name in nginx, or a ServerName with a catch-all virtual host returning an error in Apache, so arbitrary Host values never reach Grav; the trade-off is that the site stops answering on any additional hostnames, so all legitimate aliases must be enumerated. To recover an already-filled disk, run bin/grav clearcache; passive cleanup is unreliable in the short term because the built-in purge only removes page-index entries older than system.cache.purge_max_age_days (30 days by default) and compiled files older than twice that (60 days), and only when the purge actually runs. No public exploit code has been released and no confirmed active exploitation exists, so this is prioritised for this week rather than as an emergency. Full details: https://github.com/getgrav/grav/security/advisories/GHSA-j9j4-qq25-7m54

Affected VersionsENISA

grav 2.0.0 <2.2.18

Affected Packages

euvd grav fix: 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 root cause class is CWE-770 (allocation of resources without limits or throttling), with the advisory also classifying the weakness as CWE-400 (uncontrolled resource consumption). Grav derives its runtime environment directly from the request URI via $uri->getHost() in Setup, with no trusted-host allowlist and no existence check on the resulting environment; ConfigServiceProvider then names the compiled caches after that value (master-{environment} for blueprints, configuration and languages, plus a file-list cache on 2.x), and CompiledBase writes a full PHP dump of roughly 125 to 250 KB for each. A missing environment folder is rejected, but the name still propagates into the cache file names, so the directories are created and populated with byte-identical copies of the same compiled artefacts. A second amplification path is independent of the compiled caches: the Cache component derives its namespace from the absolute root URL and configuration key, and Pages fetches the page index from that namespace and writes another copy on a miss, so each new Host value yields a full page-index copy (about 829 KB on the reporter's 300-post site) under a new namespace when the file cache driver is in use - the default when APCu is not available. Because the compilation timestamp is part of the configuration object, pinning only the base URL does not prevent the duplicates. The advisory notes that the page-index namespace and environment derivation work the same way in Grav 1.7, and that reachability depends on the deployment mode: the shipped nginx.conf (a single 'server_name localhost' acting as the default server) and a default Apache virtual host both route unknown Host values to Grav, whereas a strict server_name or ServerName prevents the attack outright. The stated per-host figures (about 520 KiB measured, 32,156,520 bytes across 350 files for 50 hosts, and 643,128 bytes from a single 64-byte request) describe storage amplification, not request-volume flooding; the trigger for each cache write is a request carrying an unseen Host value, and no authentication (PR:N) or user interaction is required per the assessed vector.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated network request varying the Host header (AV:N/AC:L/PR:N/UI:N); impact is storage exhaustion affecting availability only (A:H), with no confidentiality or integrity effect and no scope change.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
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 8.7

DescriptionCVE.org

Grav from 2.0.0 before 2.2.18 contains a resource exhaustion vulnerability that allows unauthenticated attackers to fill the disk by varying the HTTP Host header. Attackers can send requests with distinct Host values to create per-host compiled configuration, blueprint, language and page index caches, causing session, upload and logging failures.

Technical POC Analysis

The flaw is CWE-770 (Allocation of Resources Without Limits or Throttling); the advisory also assigns CWE-400.

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 versions 2.0.0 through 2.2.17 are vulnerable to a storage exhaustion attack that can be triggered by any unauthenticated user, requiring no special access. An attacker can rapidly fill the server's disk by sending simple HTTP requests, potentially causing service outages for legitimate users. Leadership should care because this affects website availability and could lead to reputational and financial damage if the site goes down.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Implement web server or proxy rules to restrict or validate Host headers, enable rate limiting per client, and monitor disk usage with automated cache clearing as interim mitigations.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
Grav is a niche open-source flat-file CMS, far smaller footprint than mainstream CMSs
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.3%
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
Yes
Human Impact
Medium

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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