Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate image URL on Grav site
-
DeliveryAppend oversized forceResize dimension parameter
-
ExploitServer allocates huge bitmap in GD/Imagick
-
ExecutionMemory and CPU exhausted
-
ImpactRepeat to sustain denial of service
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 that the target run a Grav site (before 1.7.53 / 2.0.0-rc.8) that serves dynamically generated image derivatives, and that the attacker can reach the media/image URL and append image-action query parameters such as forceResize, resize, or cropResize processed by Grav::fallbackUrl through ImageMedium magic actions - these actions are part of Grav's standard media handling, so no non-default feature toggle is needed. No authentication, no user interaction, and no special privileges are required (CVSS PR:N/UI:N). Limiting factors that reduce real-world risk: sites that serve only pre-generated/static images or place all derivatives behind a CDN/cache may not reach the vulnerable code path on demand, upstream php.ini memory_limit/max_execution_time caps bound the blast radius of each request, and a WAF filtering oversized dimension parameters neutralizes the trivial variant. |
| Impact | The signals are internally consistent and point to a genuine, easy-to-abuse availability threat rather than an inflated high-CVSS artifact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:N/VI:N/VA:H, base 8.7) correctly captures a network-reachable, low-complexity, unauthenticated attack whose only impact is availability - no data confidentiality or integrity exposure. CWE-770 plus the 'oversized dimensions' description means exploitation is deterministic and automatable: no memory grooming, race, or auth needed. EPSS and CISA KEV data were not provided in the input, so exploitation probability and active-exploitation status are unknown; the absence of a KEV entry means there is no confirmation of in-the-wild use, and no POC was referenced. Net priority is elevated for internet-facing Grav instances that serve dynamic image derivatives, because a single unauthenticated request can degrade or exhaust a shared web server, but it is not a data-breach-class issue. Missing signal to flag: no EPSS score and no KEV status in the source data - do not treat this as actively exploited absent that confirmation. |
| Exploit ScenarioDerived | An attacker discovers any image served by a target Grav site and appends an image-action query such as forceResize with enormous width and height values, then replays that request repeatedly or from multiple sources. Each request forces the server to allocate a massive bitmap through PHP GD/Imagick, spiking memory and CPU until worker processes are killed or the host becomes unresponsive, denying service to legitimate users. The attack requires no authentication or user interaction and is trivial to script; no public POC was referenced in the source data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Uncontrolled resource consumption in Grav flat-file CMS before 1.7.53 and 2.0.0-rc.8 lets a remote unauthenticated visitor crash or degrade a server by requesting on-the-fly image derivatives with absurdly large dimensions. Because Grav::fallbackUrl forwards URL query image actions such as forceResize straight to ImageMedium magic actions with no dimension or pixel ceiling, a single crafted request forces the server to allocate huge amounts of memory and CPU to build the derivative. No public exploit identified at time of analysis, but the attack is trivial and scriptable given the CVSS 4.0 VA:H, AV:N/AC:L/PR:N profile.
RemediationAI
Vendor-released patch: upgrade to Grav 1.7.53 (stable) or 2.0.0-rc.8 (2.0 pre-release), which introduce dimension/pixel ceilings on ImageMedium actions reached through Grav::fallbackUrl; the fix commits are d9f9f0369a07ae5c96cde700c7949e1237b29cf6 and f4c0f42eea755cedad6f626b342c88d4cba72174. If you cannot upgrade immediately, place a reverse proxy or WAF rule in front of the site to reject media requests whose image-action query parameters (forceResize, resize, cropResize, etc.) contain dimensions above a sane threshold (for example, deny any width or height over a few thousand pixels), and cap PHP resources via php.ini memory_limit and max_execution_time so a single request cannot consume the whole host - the trade-off is that legitimate very-large derivative requests will also be blocked or truncated. As additional hardening, front image derivatives with an on-disk cache/CDN and rate-limit unauthenticated requests to the media endpoint, accepting the added infrastructure and slight first-render latency. Consult the advisory at https://github.com/getgrav/grav/security/advisories/GHSA-4x9g-vw65-vvf9 before rolling out workarounds.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Grav is a PHP-based flat-file content management system that generates responsive image variants (derivatives) at request time rather than pre-computing them. Its media pipeline exposes 'magic actions' on the ImageMedium object - chainable operations like resize, cropResize and forceResize - that can be triggered directly from URL query parameters. The vulnerable path is Grav::fallbackUrl, which handles requests for media assets and passes user-supplied parameters into these ImageMedium actions. Underlying image manipulation relies on PHP GD/Imagick, which must allocate an in-memory bitmap proportional to width × height × bytes-per-pixel; a request for, e.g., forceResize=60000,60000 forces the library to attempt to allocate billions of pixels. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the code accepts attacker-controlled target dimensions without validating them against a maximum width, height, or total-pixel budget before committing memory and CPU.
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
Remote, low-complexity, unauthenticated request to a standard media endpoint (AV:N/AC:L/PR:N/UI:N); impact is availability-only resource exhaustion, so C:N/I:N/A:H, scope unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Grav is a file-based Web platform. Prior to 1.7.53 and 2.0.0-rc.8, Grav allows an unauthenticated visitor to exhaust server memory and CPU by requesting image derivatives with oversized dimensions through URL query image actions such as forceResize in Grav::fallbackUrl, which passes request parameters to ImageMedium magic actions without a dimension or pixel ceiling. This issue is fixed in versions 1.7.53 and 2.0.0-rc.8.
Executive ViewAI
Grav CMS versions prior to 1.7.53 and 2.0.0-rc.8 contain a resource exhaustion vulnerability enabling remote, unauthenticated users to crash or severely degrade affected servers through crafted image resizing requests. Organizations running vulnerable Grav versions face immediate availability risk, as exploitation requires no authentication and can be triggered with a single malicious HTTP request.
Rate-limit image processing endpoints to 10 requests per minute per client IP; enforce maximum image dimension limits at WAF/reverse proxy (reject requests exceeding 5000 pixels); implement query parameter size limits (<2KB) for image actions; enable server-level CPU and memory monitoring with alerting thresholds; deploy circuit breaker logic to disable image derivative generation when resource utilization exceeds 85%.
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-42943
GHSA-4x9g-vw65-vvf9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB