{"id":"CVE-2026-31317","aliases":["EUVD-2026-23428","GHSA-8wmw-prw8-2ggm"],"status":"published","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":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00463,"percentile":0.40436,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-918"],"published":"2026-04-17T00:00:00Z","modified":"2026-10-28T02:30:50Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"markhuot/craftql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.7"}]}]},{"source":"osv","ecosystem":"Packagist","package":"markhuot/craftql","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.7"}]}],"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"]}],"references":[{"url":"https://github.com/stormmmg/craftql_ssrf/","tags":["web"]},{"url":"https://github.com/markhuot/craftql","tags":["package"]},{"url":"https://github.com/stormmmg/craftql_ssrf/blob/master/craftql-ssrf-en/README_detail.md","tags":["exploit","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31317","tags":["advisory"]},{"url":"https://github.com/stormmmg/craftql_ssrf","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8wmw-prw8-2ggm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31317.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-31317","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","status":"published","published":"2026-04-17T00:00:00Z","modified":"2026-04-20T14:59:43.878Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-918"],"updated_at":"2026-11-02T14:19:50.92611Z"}],"euvd":[{"id":"EUVD-2026-23428","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","status":"published","published":"2026-04-17T00:00:00Z","modified":"2026-04-20T14:59:43Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T19:24:22.446697Z"}],"ghsa":[{"id":"GHSA-8wmw-prw8-2ggm","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.","status":"published","published":"2026-04-17T15:31:18Z","modified":"2026-04-24T21:03:57Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-918"],"updated_at":"2026-11-02T14:39:57.650091Z"}],"nvd":[{"id":"CVE-2026-31317","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","status":"published","published":"2026-04-17T14:16:33.73Z","modified":"2026-06-17T10:33:34.813Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-918"],"updated_at":"2026-11-02T14:12:15.120927Z"}],"osv":[{"id":"CVE-2026-31317","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","status":"published","published":"2026-04-17T00:00:00Z","modified":"2026-10-28T02:30:50.917234649Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:00.861953Z"},{"id":"GHSA-8wmw-prw8-2ggm","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.","status":"published","published":"2026-04-17T15:31:18Z","modified":"2026-05-05T16:04:46.50842Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-918"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
