{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.3.7"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d01af3b463cc9134dd8df5f6743240cc5b5de13b"
            }
          ],
          "repo": "https://github.com/markhuot/craftql",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31317.json"
  },
  "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",
  "id": "CVE-2026-31317",
  "modified": "2026-10-20T10:30:39.417094705Z",
  "published": "2026-04-17T00:00:00Z",
  "references": [
    {
      "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"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31317.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31317"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/markhuot/craftql"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}