Skip to main content

PHP EUVDEUVD-2026-23428

| CVE-2026-31317 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-17 mitre GHSA-8wmw-prw8-2ggm
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Send malicious GraphQL query to assets endpoint
  2. Delivery
    SSRF triggers server-side request to attacker-specified URL
  3. Exploit
    Access internal metadata service or restricted resources
  4. Execution
    Exfiltrate credentials or sensitive data
  5. Impact
    Pivot 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

n/a n/a

Affected Packages

composer markhuot/craftql no fix

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

NVD PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
Apr 20, 2026 - 16:22 NVD
7.5 (HIGH)
CVE Published
Apr 17, 2026 - 00:00 nvd
HIGH 7.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 100% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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 No
EPSS 0.0%
Patch available No
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy