{"id":"GHSA-8wmw-prw8-2ggm","summary":"Craftql vulnerable to Server-Side Request Forgery","details":"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.","aliases":["CVE-2026-31317"],"modified":"2026-05-05T16:04:46.508420Z","published":"2026-04-17T15:31:18Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-04-18T01:03:36Z","nvd_published_at":"2026-04-17T14:16:33Z","cwe_ids":["CWE-918"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31317"},{"type":"PACKAGE","url":"https://github.com/markhuot/craftql"},{"type":"WEB","url":"https://github.com/stormmmg/craftql_ssrf"},{"type":"WEB","url":"https://github.com/stormmmg/craftql_ssrf/blob/master/craftql-ssrf-en/README_detail.md"}],"affected":[{"package":{"name":"markhuot/craftql","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8wmw-prw8-2ggm/GHSA-8wmw-prw8-2ggm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}