{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99"
            }
          ],
          "repo": "https://github.com/f/prompts.chat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22664.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "prompts.chat prior to commit 30a8f04 contains a server-side request forgery vulnerability in the Fal.ai media status polling feature that allows authenticated users to perform arbitrary outbound requests by supplying attacker-controlled URLs in the token parameter. Attackers can exploit the lack of URL validation to disclose the FAL_API_KEY in the Authorization header, enabling credential theft, internal network probing, and abuse of the victim's Fal.ai account.",
  "id": "CVE-2026-22664",
  "modified": "2026-07-08T05:39:15.779885655Z",
  "published": "2026-04-03T20:27:48.247Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22664.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22664"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/prompts-chat-ssrf-via-fal-ai-media-status-polling"
    },
    {
      "type": "REPORT",
      "url": "https://gist.github.com/mdisec/27c0cac0ec6a8f3c8f85a18987ddb942"
    },
    {
      "type": "FIX",
      "url": "https://github.com/f/prompts.chat/commit/30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/f/prompts.chat"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "prompts.chat SSRF via Fal.ai Media Status Polling"
}