Quick answers
- Is CVE-2026-22665 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-22665 being exploited in the wild.
- How severe is CVE-2026-22665?
- High severity, with a CVSS score of 8.1, published 3 April 2026.
- Which products and versions are affected?
- fka prompts.chat prior to commit 1464475.
- Is there a fix for CVE-2026-22665?
- A patch was published on 2026-03-24: Fix committed to repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-22665 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2026-22665?
- Check whether you run F Awesome ChatGPT Prompts or Fka Prompts.Chat. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability stems from a case-sensitivity mismatch between the registration/profile update logic and the database collation. While registration uses case-insensitive checks, the profile update and OAuth registration paths use Prisma's 'findUnique' method, which defaults to case-sensitive matching in PostgreSQL. This allows an attacker to bypass uniqueness constraints by creating case-variants (e.g., 'Admin' when 'admin' exists). Because the application's display surfaces resolve usernames case-insensitively using 'findFirst' without deterministic ordering, the attacker's profile can non-deterministically replace the victim's profile on canonical URLs. This leads to profile hijacking, OpenGraph spoofing, and metadata poisoning. The issue was fixed in commit 1464475 by enforcing consistent case-insensitive uniqueness checks.
Affected products
- fka prompts.chat prior to commit 1464475
Timeline
- 2026-03-24: patched: Fix committed to repository
- 2026-04-03: disclosed: CVE published