{"id":"GHSA-8wmw-prw8-2ggm","aliases":["CVE-2026-31317"],"title":"Craftql vulnerable to Server-Side Request Forgery","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.","severity":"high","score":7.5,"published":"2026-04-17T15:31:18.000Z","modified":"2026-05-05T16:04:46.508Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"markhuot/craftql","ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.3.7"}],"type":"ECOSYSTEM"}],"versions":["1.0.0","1.0.0-beta.1","1.0.0-beta.10","1.0.0-beta.11","1.0.0-beta.12","1.0.0-beta.13","1.0.0-beta.14","1.0.0-beta.15","1.0.0-beta.16","1.0.0-beta.17","1.0.0-beta.18","1.0.0-beta.19","1.0.0-beta.2","1.0.0-beta.20","1.0.0-beta.21","1.0.0-beta.22","1.0.0-beta.23","1.0.0-beta.24","1.0.0-beta.25","1.0.0-beta.26","1.0.0-beta.27","1.0.0-beta.28","1.0.0-beta.29","1.0.0-beta.3","1.0.0-beta.4","1.0.0-beta.5","1.0.0-beta.6","1.0.0-beta.7","1.0.0-beta.8","1.0.0-beta.9","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-31317","https://github.com/markhuot/craftql","https://github.com/stormmmg/craftql_ssrf","https://github.com/stormmmg/craftql_ssrf/blob/master/craftql-ssrf-en/README_detail.md"],"sources":[{"name":"OSV","id":"GHSA-8wmw-prw8-2ggm","modified":"2026-05-05T16:04:46.508420Z","url":"https://osv.dev/vulnerability/GHSA-8wmw-prw8-2ggm"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},{"source":"OSV","vector":"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","score":6.9}]}