{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1464475df2698fb7ccd0cdbc382b0750466f891d"
            }
          ],
          "repo": "https://github.com/f/prompts.chat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-178"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22665.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1464475df2698fb7ccd0cdbc382b0750466f891d"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-22665",
  "modified": "2026-07-08T05:36:09.357400686Z",
  "published": "2026-04-03T20:28:10.061Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "prompts.chat Identity Confusion via Case-Sensitive Username Handling"
}