A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-22662

CVE-2026-22662: Fka Prompts.chat SSRF Vulnerability

CVE-2026-22662 is a blind server-side request forgery vulnerability in Fka Prompts.chat that lets authenticated attackers probe internal networks and services. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2026-22662 Overview

CVE-2026-22662 is a blind Server-Side Request Forgery (SSRF) vulnerability in prompts.chat prior to commit 1464475. The flaw resides in the Wiro media generator and accepts an attacker-controlled inputImageUrl parameter through the /api/media-generate endpoint. Authenticated users can coerce the backend into issuing HTTP requests toward arbitrary destinations, including internal services unreachable from the public internet. The issue is tracked as CWE-918: Server-Side Request Forgery.

Critical Impact

Authenticated attackers can probe internal networks, enumerate internal services, and exfiltrate data through the upstream Wiro service without observing direct response bodies.

Affected Products

  • fka/prompts.chat versions prior to commit 1464475df2698fb7ccd0cdbc382b0750466f891d
  • Deployments exposing the /api/media-generate endpoint with Wiro integration enabled
  • Self-hosted instances running the vulnerable Wiro media generator handler

Discovery Timeline

  • 2026-04-03 - CVE-2026-22662 published to NVD
  • 2026-04-13 - Last updated in NVD database

Technical Details for CVE-2026-22662

Vulnerability Analysis

The vulnerability exists in the Wiro media generator handler exposed at /api/media-generate. The handler accepts a JSON POST body containing an inputImageUrl parameter and forwards that URL to the upstream Wiro service for fetching. The application does not validate the scheme, host, or address class of the supplied URL. Authenticated users can therefore submit URLs targeting internal hostnames, loopback interfaces, cloud metadata endpoints, or private RFC1918 ranges.

Because the response body from the upstream fetch is not returned directly to the caller, exploitation operates as a blind SSRF. Attackers infer information from response timing, status differentials, and side effects observed in the upstream Wiro pipeline. Data exfiltration is achievable by chaining the fetch through Wiro, where internal content can transit a third-party service controlled outside the victim's perimeter.

Root Cause

The root cause is missing input validation on the inputImageUrl parameter inside the media generation route. The code accepts any user-supplied URL and passes it to the outbound HTTP client without enforcing an allowlist of permitted hosts, blocking private address ranges, or restricting the URL scheme to https.

Attack Vector

An authenticated user sends a POST request to /api/media-generate with a crafted inputImageUrl pointing to an internal resource such as http://169.254.169.254/latest/meta-data/ or http://127.0.0.1:8080/admin. The server forwards the URL through the Wiro integration, which performs the fetch from network positions inaccessible to the original client. Repeated probes map internal services and infrastructure.

No verified public exploit code is available. See the VulnCheck Security Advisory for the disclosed technical analysis.

Detection Methods for CVE-2026-22662

Indicators of Compromise

  • POST requests to /api/media-generate containing inputImageUrl values that resolve to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or loopback addresses
  • Requests where inputImageUrl references cloud metadata services such as 169.254.169.254 or metadata.google.internal
  • Outbound traffic from the upstream Wiro service targeting internal hostnames belonging to the deployment environment

Detection Strategies

  • Parse application logs for /api/media-generate requests and extract the inputImageUrl field for analysis against a denylist of internal address ranges
  • Correlate authenticated session activity with anomalous URL parameters containing non-standard schemes (file://, gopher://, dict://) or unusual ports
  • Monitor for high-volume requests to the media generation endpoint from a single account, indicative of internal network scanning

Monitoring Recommendations

  • Enable structured logging on the /api/media-generate route to capture all inputImageUrl values and originating account identifiers
  • Forward web application logs and egress proxy telemetry to a centralized analytics platform for retrospective hunting
  • Alert on DNS resolutions of internal hostnames originating from the upstream Wiro integration callback

How to Mitigate CVE-2026-22662

Immediate Actions Required

  • Update prompts.chat to a build that includes commit 1464475 or later
  • Audit access logs for /api/media-generate requests containing internal IP addresses or metadata service hostnames in the inputImageUrl parameter
  • Restrict access to the media generation endpoint to trusted authenticated users until the patch is applied

Patch Information

The fix is delivered in commit 1464475df2698fb7ccd0cdbc382b0750466f891d of the f/prompts.chat repository, merged through pull request #1102. The patch introduces validation on the inputImageUrl parameter to reject internal and non-HTTP(S) targets before they reach the upstream fetch.

Workarounds

  • Place the application behind an egress proxy that blocks outbound connections to RFC1918 ranges, loopback, and link-local addresses including 169.254.169.254
  • Implement a reverse proxy or Web Application Firewall (WAF) rule that inspects POST bodies sent to /api/media-generate and rejects requests with internal hostnames in inputImageUrl
  • Disable the Wiro media generator integration in deployments that do not require AI image generation functionality
bash
# Example egress restriction using iptables to block SSRF targets
iptables -A OUTPUT -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -d 169.254.0.0/16 -j REJECT

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechFka Prompts.chat

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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
  • VulnCheck Security Advisory
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Pull Request Discussion
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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