Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend malicious GraphQL query to assets endpoint
-
DeliverySSRF triggers server-side request to attacker-specified URL
-
ExploitAccess internal metadata service or restricted resources
-
ExecutionExfiltrate credentials or sensitive data
-
ImpactPivot to internal systems or achieve RCE via chained exploits
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions required for SSRF exploitation - remote unauthenticated attackers can target default Craftql installations accessible over the network (CVSS: AV:N/AC:L/PR:N/UI:N). The vulnerability affects the GetAssetsFieldSchema.php component which is part of Craftql's core GraphQL API functionality and likely active by default when the plugin is installed. Exploitation requires that the Craft CMS instance has Craftql plugin version 1.3.7 or earlier installed and enabled. The server must be able to make outbound HTTP requests for the SSRF to succeed - environments with strict egress filtering or air-gapped networks would limit impact. The escalation from SSRF to remote code execution claimed in the description depends on the presence of vulnerable internal services reachable from the web server or exploitable protocols beyond HTTP, which are deployment-specific factors not universally present. The CVSS vector showing only confidentiality impact suggests direct RCE from SSRF alone may require chaining with additional vulnerabilities. |
| Impact | The risk signals present conflicting priorities. The CVSS 7.5 (High) score with network-based, unauthenticated attack vector (AV:N/AC:L/PR:N/UI:N) suggests broad attack surface and low exploitation barriers. However, the EPSS score of 0.01% (0th percentile) indicates security researchers and threat actors have shown virtually no interest in exploiting this vulnerability in real environments. The vulnerability is NOT in CISA's KEV catalog, confirming no confirmed active exploitation. A detailed proof-of-concept repository exists (stormmmg/craftql_ssrf with README_detail.md), lowering exploitation difficulty but still not driving widespread abuse. The CVSS impact vector (C:H/I:N/A:N - confidentiality only) contradicts the description's claim of arbitrary code execution, which would require I:H impact. This discrepancy raises confidence concerns: either the CVSS scoring is incomplete, or the RCE claim is overstated and the actual impact is SSRF-driven data exfiltration. The vulnerability affects a niche GraphQL plugin for Craft CMS, not a widely deployed enterprise product, explaining the low EPSS. Priority should be medium for organizations using Craftql in internet-facing deployments with access to sensitive internal resources, but low for isolated or non-production instances. The lack of vendor advisory URLs in mainstream references suggests limited vendor engagement or abandoned maintenance status for this library. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted GraphQL query to a Craft CMS instance running vulnerable Craftql, targeting the assets field schema endpoint. The malicious query includes a manipulated URL parameter that forces the server to make requests to internal resources such as cloud metadata services (http://169.254.169.254/latest/meta-data/) to exfiltrate AWS credentials, or to internal admin panels not exposed externally. The attacker retrieves sensitive configuration data, API keys, or authentication tokens via the SSRF, which could then enable further attacks including potential remote code execution against discovered internal services. A detailed proof-of-concept with exploitation steps is publicly available in the stormmmg/craftql_ssrf GitHub repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Server-Side Request Forgery (SSRF) in Craftql PHP library versions 1.3.7 and earlier enables remote attackers to force the server to make unintended requests, potentially leading to arbitrary code execution. The vulnerability resides in the GetAssetsFieldSchema.php listener component. No active exploitation is confirmed (not in CISA KEV), but a proof-of-concept repository with detailed exploitation documentation exists on GitHub. Despite the CVSS 7.5 rating, the extremely low EPSS score (0.01%, 0th percentile) indicates minimal real-world exploitation activity observed to date. The description claims RCE capability, but the CVSS vector shows only confidentiality impact (C:H/I:N/A:N), suggesting the SSRF may enable information disclosure that could chain into RCE rather than direct code execution - verification with vendor advisories needed.
RemediationAI
Upgrade to Craftql version 1.3.8 or later if available, though no confirmed patched version is referenced in the CVE data or researcher documentation. Check the official GitHub repository (github.com/markhuot/craftql) for updates or security patches addressing CVE-2026-31317. If no patch exists and Craftql is required, implement network-level controls: deploy web application firewall (WAF) rules to detect and block SSRF payloads in GraphQL queries, specifically monitoring requests to the assets field schema endpoint. Restrict outbound connections from the web application server using egress filtering, allowing only necessary external domains and blocking access to cloud metadata endpoints (169.254.169.254, fd00:ec2::254), internal RFC1918 networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and localhost (127.0.0.1/8). Note that egress restrictions may break legitimate external asset fetching features if Craftql relies on retrieving remote resources. Consider disabling asset field schema functionality in GetAssetsFieldSchema.php if not business-critical, though this may degrade GraphQL API functionality. Implement application-level URL validation with allowlists for permitted domains and protocols, rejecting file://, gopher://, dict://, and other non-HTTP schemes. Given the absence of vendor engagement indicated by missing advisories, evaluate migrating to actively maintained GraphQL solutions for Craft CMS.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Craftql is a GraphQL plugin for Craft CMS written in PHP. The vulnerability is classified as CWE-918 (Server-Side Request Forgery), where an attacker can manipulate the application to make HTTP requests to arbitrary internal or external resources. The flaw exists in the vendor/markhuot/craftql/src/Listeners/GetAssetsFieldSchema.php file, likely in code handling asset field schema generation where user-controlled input (possibly GraphQL query parameters or asset URLs) is used to construct server-side requests without proper validation. SSRF vulnerabilities typically allow attackers to scan internal networks, access cloud metadata services (AWS EC2 metadata, Kubernetes API), or interact with internal services not exposed to the internet. The claim of arbitrary code execution suggests the SSRF may be exploitable to reach vulnerable internal services or leverage protocols beyond HTTP (file://, gopher://, etc.) to achieve RCE, though this escalation path is not detailed in the CVSS vector which shows no integrity or availability impact.
Know when PHP 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Craftql v1.3.7 and before is vulnerable to Server-Side Request Forgery (SSRF) which allows an attacker to execute arbitrary code via the vendor/markhuot/craftql/src/Listeners/GetAssetsFieldSchema.php file
Executive ViewAI
Craftql PHP library versions 1.3.7 and earlier contain a Server-Side Request Forgery (SSRF) vulnerability that could allow attackers to extract sensitive information or pivot to internal systems, with potential for further exploitation. While no active exploitation has been observed in the wild, proof-of-concept code is publicly available, creating an elevated risk for organizations using this library. Immediate inventory and upgrade planning is required to protect backend systems and data confidentiality.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement egress filtering and network segmentation to restrict server-initiated outbound connections; (2) Deploy Web Application Firewall (WAF) rules to detect and block SSRF patterns targeting internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16); (3) Enforce strict input validation on asset schema parameters; (4) Run affected services with minimal IAM permissions and disable metadata service access where applicable; (5) Monitor outbound requests and apply rate limiting. Monitor Craftql GitHub repository and security advisories closely for patch release.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-23428
GHSA-8wmw-prw8-2ggm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB