# CVE-2026-31317: Craftql vulnerable to Server-Side Request Forgery

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T00:00:00.000Z
- Modified: 2026-06-17T10:33:34.813Z
- Also known as: GHSA-8wmw-prw8-2ggm
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- markhuot/craftql (Packagist): up to 1.3.7

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/stormmmg/craftql_ssrf/blob/master/craftql-ssrf-en/README_detail.md> (exploit, web)
- <https://github.com/stormmmg/craftql_ssrf/>
- <https://github.com/markhuot/craftql> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31317> (advisory)
- <https://github.com/stormmmg/craftql_ssrf> (web)

## Sources

- CVE List: [CVE-2026-31317](https://www.cve.org/CVERecord?id=CVE-2026-31317), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-8wmw-prw8-2ggm](https://github.com/advisories/GHSA-8wmw-prw8-2ggm), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-31317](https://nvd.nist.gov/vuln/detail/CVE-2026-31317), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31317 · Whole record: https://cve.day/CVE-2026-31317.json · Rebuilt by cve.day 2026-11-25T22:59:18.944Z
