The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22664

CVE-2026-22664: prompts.chat SSRF Vulnerability

CVE-2026-22664 is a server-side request forgery flaw in prompts.chat that enables authenticated users to perform arbitrary outbound requests and steal API credentials. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 10, 2026

CVE-2026-22664 Overview

CVE-2026-22664 is a Server-Side Request Forgery (SSRF) vulnerability in prompts.chat prior to commit 30a8f04. The vulnerability exists in the Fal.ai media status polling functionality and allows authenticated users to perform arbitrary outbound requests by supplying attacker-controlled URLs in the token parameter. Due to a lack of URL validation, attackers can exploit this flaw 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.

Critical Impact

Authenticated attackers can steal API credentials and probe internal networks through unvalidated SSRF requests, potentially compromising the Fal.ai integration and enabling further lateral movement.

Affected Products

  • prompts.chat prior to commit 30a8f04

Discovery Timeline

  • 2026-04-03 - CVE CVE-2026-22664 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-22664

Vulnerability Analysis

This SSRF vulnerability arises from improper input validation in the Fal.ai media status polling mechanism within prompts.chat. The application accepts user-controlled URLs in the token parameter without validating that the destination belongs to a trusted Fal.ai origin. When the application makes authenticated requests to poll media generation status, it includes the FAL_API_KEY in the Authorization header. An attacker who can manipulate the token parameter can redirect these authenticated requests to an attacker-controlled server, capturing the API key and any other sensitive headers.

The vulnerability is classified under CWE-918 (Server-Side Request Forgery), which describes scenarios where a web application can be induced to make requests to unintended destinations. In this case, the lack of origin validation allows authenticated requests meant for Fal.ai's queue service to be redirected to arbitrary endpoints, exposing credentials and enabling internal network reconnaissance.

Root Cause

The root cause is the absence of URL validation before making authenticated HTTP requests. The vulnerable code accepted any URL provided in the token parameter and forwarded the request with the FAL_API_KEY attached, without verifying that the target URL belonged to legitimate Fal.ai domains (queue.fal.run or fal.run).

Attack Vector

The attack vector is network-based and requires low-privilege authentication. An attacker with valid credentials can supply a malicious URL in the token parameter during media status polling operations. When the application processes this request, it forwards the FAL_API_KEY to the attacker's server. This enables:

  1. Credential Theft: Capture of the FAL_API_KEY from the Authorization header
  2. Internal Network Probing: Scanning internal services accessible from the application server
  3. Account Abuse: Using stolen credentials to abuse the victim's Fal.ai account

The security patch introduces an allowlist-based URL validation function to prevent requests to untrusted origins:

typescript
 
 const FAL_QUEUE_BASE = "https://queue.fal.run";
 
+const ALLOWED_FAL_HOSTS = new Set([
+  "queue.fal.run",
+  "fal.run",
+]);
+
+/**
+ * Validate that a URL points to a trusted Fal.ai origin.
+ *
+ * Prevents SSRF by ensuring user-controlled tokens cannot redirect
+ * authenticated requests to arbitrary servers.
+ */
+export function assertFalOrigin(url: string): void {
+  let parsed: URL;
+  try {
+    parsed = new URL(url);
+  } catch {
+    throw new Error("Invalid Fal.ai URL");
+  }
+  if (parsed.protocol !== "https:" || !ALLOWED_FAL_HOSTS.has(parsed.hostname)) {
+    throw new Error("Invalid Fal.ai URL: untrusted origin");
+  }
+}
+
 function parseModels(envVar: string | undefined, type: "image" | "video" | "audio"): MediaGeneratorModel[] {
   if (!envVar) return [];
   return envVar

Source: GitHub Commit Reference

Detection Methods for CVE-2026-22664

Indicators of Compromise

  • Unusual outbound HTTP requests from the prompts.chat application to non-Fal.ai domains
  • Requests containing FAL_API_KEY authorization headers directed to external or internal IP addresses
  • Log entries showing token parameters with URLs pointing to attacker-controlled servers or internal network addresses
  • Unexpected usage patterns or charges on the associated Fal.ai account

Detection Strategies

  • Monitor application egress traffic for requests to destinations outside the expected Fal.ai domains (queue.fal.run, fal.run)
  • Implement alerting on HTTP requests containing sensitive headers being sent to non-allowlisted hosts
  • Review application logs for token parameter values containing IP addresses, localhost references, or non-Fal.ai hostnames
  • Configure web application firewalls to detect and block SSRF patterns in request parameters

Monitoring Recommendations

  • Enable detailed logging for all outbound HTTP requests from the prompts.chat application
  • Set up alerts for any FAL_API_KEY usage from unexpected IP addresses or for unusual API activity
  • Implement network segmentation to limit the blast radius of SSRF exploitation
  • Regularly audit Fal.ai account activity for signs of unauthorized access or credential abuse

How to Mitigate CVE-2026-22664

Immediate Actions Required

  • Update prompts.chat to commit 30a8f04 or later which includes the SSRF fix
  • Rotate the FAL_API_KEY immediately if exploitation is suspected
  • Review logs for evidence of SSRF exploitation attempts
  • Implement network-level controls to restrict outbound requests from the application server

Patch Information

The vulnerability has been addressed in commit 30a8f0470e0ba45e6be9c9f55220f4a9a6b91c99. The fix implements an allowlist-based URL validation function (assertFalOrigin) that ensures all Fal.ai media status polling requests are restricted to trusted origins (queue.fal.run and fal.run) using HTTPS only. For detailed patch information, see the GitHub Commit Reference and the VulnCheck SSRF Advisory.

Workarounds

  • If immediate patching is not possible, implement network-level restrictions to only allow outbound requests to queue.fal.run and fal.run
  • Deploy a reverse proxy or web application firewall rule to validate and sanitize token parameters before they reach the application
  • Temporarily disable the Fal.ai media generation feature until the patch can be applied
  • Restrict the FAL_API_KEY permissions to the minimum required scope to limit potential abuse
bash
# Network-level mitigation: Allow only trusted Fal.ai domains
# Example iptables rules to restrict outbound connections
iptables -A OUTPUT -p tcp -d queue.fal.run --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp -d fal.run --dport 443 -j ACCEPT
# Block other outbound HTTPS from the application (adjust as needed)
# iptables -A OUTPUT -p tcp --dport 443 -m owner --uid-owner appuser -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechFal.ai

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Gist PoC

  • GitHub Commit Reference

  • VulnCheck SSRF Advisory
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English