Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Grav via default front end
-
DeliverySend requests with distinct Host headers
-
ExploitGrav writes per-host compiled + page-index caches
-
ExecutionRepeat to amplify ~1000x onto disk
-
ImpactDisk 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
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
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
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
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-128599
GHSA-jvw6-jg2r-9rjg
NVD
CVE.org
EPSS
Exploit-DB