CVE-2026-130749: Grav 2.0.0 before 2.2.18 Unbounded Cache Growth via Host Header
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Gravto a version that resolves this vulnerability.Fixed in 2.2.18
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Grav versions from 2.0.0 before 2.2.18 are affected. The attack is network-accessible and does not require authentication or user interaction.
What does an attacker need to do to trigger the resource exhaustion?
An attacker can send requests using distinct HTTP Host header values. Each new host value can cause Grav to create separate compiled configuration, blueprint, language, and page index cache entries.
What operational impact indicates exploitation may be occurring?
Disk consumption can grow until the system experiences failures involving sessions, uploads, and logging. Reviewing disk usage and cache growth for unexpectedly numerous host-specific entries can help identify the condition.