# CVE-2026-144968: Ocelot through 25.0.3 Identity Header Spoofing via Case-Sensitive Claims-to-Headers Lookup

Source: https://aplosec.si/cve/CVE-2026-144968/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144968

Low 2.3 · Reported · No fix listed · CWE-178 · NuGet

# Ocelot through 25.0.3 Identity Header Spoofing via Case-Sensitive Claims-to-Headers Lookup

CVE-2026-144968 · published 2026-12-04

In plain words: this type of bug lets two parts of a system read the same input differently, so a check can be slipped past (parsing mismatch). No fixed release is listed yet.

## Summary

CVE-2026-144968 affects Ocelot (NuGet) <= 25.0.3: Identity Header Spoofing via Case-Sensitive Claims-to-Headers Lookup (CWE-178). No fixed release is listed. CVSS 4.0 base score 2.3 (Low), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Ocelot through 25.0.3 contains a header spoofing vulnerability in AddHeadersToRequest.SetHeadersOnDownstreamRequest that allows authenticated attackers to inject identity headers via case-sensitive lookup. Attackers can send a mapped header like X-User-Id in different letter case so their value precedes the claim value, enabling impersonation or privilege escalation downstream.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [Referencehttps://github.com/ThreeMammals/Ocelot/security/advisories/GHSA-cr4c-mw6q-mrpx](https://github.com/ThreeMammals/Ocelot/security/advisories/GHSA-cr4c-mw6q-mrpx)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/ocelot-through-25.0.3-identity-header-spoofing-via-case-sensitive-claims-to-headers-lookup](https://www.vulncheck.com/advisories/ocelot-through-25.0.3-identity-header-spoofing-via-case-sensitive-claims-to-headers-lookup)

- [Vulnerable codehttps://github.com/ThreeMammals/Ocelot/blob/25.0.3/src/Headers/AddHeadersToRequest.cs#L37-L44](https://github.com/ThreeMammals/Ocelot/blob/25.0.3/src/Headers/AddHeadersToRequest.cs#L37-L44)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144968](https://www.cve.org/CVERecord?id=CVE-2026-144968)

**Severity:** Low 2.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144968)

**Package:** Ocelot

**Ecosystem:** NuGet

**Affected:** <= 25.0.3

**Fixed:** None

**Weakness:** CWE-178

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
