Skip to main content

Grav CMS CVE-2026-53653

| EUVDEUVD-2026-42943 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-10 GitHub_M GHSA-4x9g-vw65-vvf9
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Locate image URL on Grav site
  2. Delivery
    Append oversized forceResize dimension parameter
  3. Exploit
    Server allocates huge bitmap in GD/Imagick
  4. Execution
    Memory and CPU exhausted
  5. Impact
    Repeat 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.

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 – 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

grav < 1.7.53
grav 2.0.0-beta.1, < 2.0.0-rc.8

Affected Packages

composer getgrav/grav fix: 1.7.53, 2.0.0-rc.8
euvd grav fix: 1.7.53
euvd grav_2_0_0_beta_1 fix: 2.0.0-rc.8

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

Vendor (GitHub_M) 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

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.

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 (GitHub_M).

CVSS VectorVendor: GitHub_M

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

1
Patch available
Jul 10, 2026 - 18:01 EUVD

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular open-source flat-file CMS, common but far from ubiquitous
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
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