Skip to main content
EPSS 0.4%top 63%

CVE-2026-62668: CWE-918: Server-Side Request Forgery (SSRF) in getgrav grav

0
Critical
VulnerabilityCVE-2026-62668cvecve-2026-62668cwe-918
Published: 08/19/2026 (08/19/2026, 15:29:24 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.6, the Grav API plugin WebhookController.php accepts webhook URLs after only FILTER_VALIDATE_URL syntax validation, and WebhookDispatcher.php initializes cURL without CURLOPT_PROTOCOLS or CURLOPT_REDIR_PROTOCOLS restrictions. An account with api.webhooks.write can submit file, dict, gopher, private-network, or link-local targets, retrieve local files and delivery response bodies, and pivot requests to internal services or cloud metadata endpoints. This issue is fixed in version 1.0.6.

CVSS v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

getgrav

grav

Affected versions
<2.0.4

getgrav

grav-plugin-api

Affected versions
<1.0.6
GitHub Actionsmore threats →ai
getgrav/grav-plugin-api
pkg:github/getgrav/grav-plugin-api
Affected versions
<1.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 15:52:10 UTC

Technical Analysis

The Grav API Plugin's WebhookController.php accepts webhook URLs after only FILTER_VALIDATE_URL syntax validation, which is insufficient to prevent malicious URLs. Additionally, WebhookDispatcher.php initializes cURL without restrictions on allowed protocols (CURLOPT_PROTOCOLS or CURLOPT_REDIR_PROTOCOLS), enabling SSRF attacks. An attacker with api.webhooks.write privileges can exploit this to send crafted requests to file, dict, gopher, private-network, or link-local targets, potentially retrieving sensitive local files or pivoting to internal or cloud metadata services. This vulnerability is addressed in version 1.0.6 of the plugin.

Potential Impact

An attacker with api.webhooks.write permissions can exploit this SSRF vulnerability to access internal network resources, retrieve local files, and interact with cloud metadata endpoints. This can lead to unauthorized data disclosure and potential further compromise of internal systems. The CVSS 4.0 score of 9.4 indicates a critical severity with high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

This vulnerability is fixed in Grav API Plugin version 1.0.6. Users should upgrade to version 1.0.6 or later to remediate the issue. No other official remediation or temporary fixes are indicated. Until upgrading, restrict api.webhooks.write permissions to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-14T20:22:04.394Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a85cdc8acd9273b4944357e

Added to database: 08/19/2026, 15:37:44 UTC

Last enriched: 08/19/2026, 15:52:10 UTC

Last updated: 10/02/2026, 08:21:42 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses