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-22665

CVE-2026-22665: prompts.chat Auth Bypass Vulnerability

CVE-2026-22665 is an authentication bypass flaw in prompts.chat caused by identity confusion through case-variant usernames. Attackers can impersonate accounts and inject malicious content. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 10, 2026

CVE-2026-22665 Overview

CVE-2026-22665 is an identity confusion vulnerability in prompts.chat that exists due to inconsistent case-sensitive and case-insensitive handling of usernames across write and read paths. This flaw allows attackers to create case-variant usernames that bypass uniqueness checks, enabling account impersonation and content injection attacks.

The vulnerability stems from improper handling of alphabetic case sensitivity (CWE-178), where the application fails to consistently normalize username comparisons. Attackers can exploit non-deterministic username resolution to impersonate victim accounts, replace profile content on canonical URLs, and inject attacker-controlled metadata and content across the platform.

Critical Impact

Attackers can impersonate legitimate users by registering case-variant usernames (e.g., "Admin" vs "admin"), hijack canonical profile URLs, and inject malicious content that appears to originate from trusted accounts.

Affected Products

  • prompts.chat (versions prior to commit 1464475)

Discovery Timeline

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

Technical Details for CVE-2026-22665

Vulnerability Analysis

This identity confusion vulnerability arises from a fundamental inconsistency in how prompts.chat processes usernames during account creation versus account lookup operations. When a user registers an account, the system performs a case-sensitive uniqueness check, allowing "UserName", "username", and "USERNAME" to be registered as distinct accounts. However, when the system resolves usernames for profile display or authentication purposes, it may perform case-insensitive lookups, creating ambiguity about which account should be returned.

This inconsistency creates a race condition of sorts in identity resolution. When multiple case-variant usernames exist, the system's behavior becomes non-deterministic, potentially returning different user records depending on database ordering, caching behavior, or query execution paths. An attacker who creates a case-variant of a target username can effectively hijack the victim's canonical profile URL and inject content that visitors will associate with the legitimate user.

Root Cause

The root cause is classified as CWE-178 (Improper Handling of Case Sensitivity). The application's write path (user registration) treats usernames as case-sensitive strings, while the read path (profile lookup, authentication) performs case-insensitive comparisons. This architectural inconsistency allows multiple accounts with identical normalized usernames to coexist in the database, breaking the implicit assumption that usernames uniquely identify users.

Attack Vector

The attack is network-accessible and requires low privileges (only a valid user account to create the case-variant username). The attacker follows this sequence:

  1. Identify a target user with a valuable or trusted username (e.g., "admin", "moderator", or a popular contributor)
  2. Register a new account using a case-variant of the target username (e.g., "Admin" when "admin" exists)
  3. Populate the attacker's profile with malicious or misleading content
  4. Wait for visitors to access the canonical profile URL, which may now resolve to the attacker's account due to non-deterministic resolution
  5. Harvest trust, redirect users to malicious resources, or inject false information that appears to come from the legitimate account

The vulnerability enables confidentiality and integrity impacts as attackers can access profile information and modify the content that users see when visiting canonical profile URLs.

Detection Methods for CVE-2026-22665

Indicators of Compromise

  • Multiple user accounts existing in the database with case-variant usernames (e.g., "admin", "Admin", "ADMIN")
  • Unusual account creation patterns targeting established or high-value usernames
  • User complaints about profile content they did not create or unexpected profile modifications
  • Audit log entries showing profile access patterns that don't match the legitimate user's activity

Detection Strategies

  • Implement database queries to identify existing case-variant username conflicts by comparing lowercase-normalized usernames
  • Monitor user registration events for attempts to create accounts with usernames that match existing users when compared case-insensitively
  • Deploy application-level logging to track profile resolution requests and identify non-deterministic behavior
  • Review authentication logs for patterns suggesting identity confusion between multiple accounts

Monitoring Recommendations

  • Enable comprehensive audit logging for all user registration and profile access operations
  • Set up alerts for rapid successive account creations with similar username patterns
  • Monitor for user reports of unauthorized profile changes or identity-related complaints
  • Implement periodic database integrity checks to identify case-variant username duplicates

How to Mitigate CVE-2026-22665

Immediate Actions Required

  • Update prompts.chat to commit 1464475 or later to apply the security fix
  • Audit existing user database for case-variant username conflicts and merge or remediate affected accounts
  • Notify users who may have been impacted by identity confusion attacks
  • Review recent account registrations for potential exploitation attempts

Patch Information

The vulnerability has been addressed in commit 1464475df2698fb7ccd0cdbc382b0750466f891d. The fix ensures consistent case-insensitive username handling across both registration (write) and lookup (read) operations, preventing case-variant usernames from bypassing uniqueness constraints.

For detailed information about the fix, refer to the GitHub Commit and the Pull Request Discussion. Additional technical details are available in the VulnCheck Advisory.

Workarounds

  • Implement a custom database constraint or trigger to enforce case-insensitive username uniqueness at the storage layer
  • Add application-level middleware to normalize all usernames to lowercase before any database operations
  • Manually audit and remove or rename accounts with case-variant usernames until the patch can be applied
  • Consider temporarily disabling new user registration if immediate patching is not feasible

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPrompts Chat

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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-178
  • Technical References
  • GitHub Commit Change

  • GitHub Pull Request Discussion

  • VulnCheck Advisory on Identity Confusion
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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