---
id: CVE-2026-22665
title: >-
  prompts.chat prior to commit 1464475, contains an identity confusion
  vulnerability due to inconsistent case-sensitive and case-insensitive handling
  of usernames across write and read paths, allowing attackers to create
  case-variant usern…
summary: >-
  prompts.chat prior to commit 1464475, contains an identity confusion
  vulnerability due to inconsistent case-sensitive and case-insensitive handling
  of usernames across write and read paths, allowing attackers to create
  case-variant usern…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-178
vendor: fka
product: prompts.chat
affected:
  - prompts.chat < 2026-03-24
patched:
  - prompts.chat 2026-03-24
published: '2026-04-03'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-22665'
references:
  - url: >-
      https://github.com/f/prompts.chat/commit/1464475df2698fb7ccd0cdbc382b0750466f891d
    label: disclosure@vulncheck.com
  - url: 'https://github.com/f/prompts.chat/pull/1098'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/prompts-chat-identity-confusion-via-case-sensitive-username-handling
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00332
epssPercentile: 0.23627
ingestedAt: '2026-07-25T22:05:04.748Z'
---

## Overview

prompts.chat prior to commit 1464475, contains an identity confusion vulnerability due to inconsistent case-sensitive and case-insensitive handling of usernames across write and read paths, allowing attackers to create case-variant usernames that bypass uniqueness checks. 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.

## Affected

- `prompts.chat < 2026-03-24`

## Remediation

Upgrade past the affected range:

- `prompts.chat 2026-03-24`
