{"id":"CVE-2026-22665","summary":"prompts.chat Identity Confusion via Case-Sensitive Username Handling","details":"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.","modified":"2026-07-08T07:34:22.672707391Z","published":"2026-04-03T20:28:10.061Z","database_specific":{"cwe_ids":["CWE-178"],"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"1464475df2698fb7ccd0cdbc382b0750466f891d"}]}],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22665.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22665.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22665"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/prompts-chat-identity-confusion-via-case-sensitive-username-handling"},{"type":"REPORT","url":"https://github.com/f/prompts.chat/pull/1098"},{"type":"FIX","url":"https://github.com/f/prompts.chat/commit/1464475df2698fb7ccd0cdbc382b0750466f891d"},{"type":"PACKAGE","url":"https://github.com/f/prompts.chat"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/f/prompts.chat","events":[{"introduced":"0"},{"fixed":"1464475df2698fb7ccd0cdbc382b0750466f891d"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22665.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}