CVE-2026-49336
Last modified
CVE-2026-49336 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. @microsoft/kiota-http-fetchlibrary provides TypeScript libraries for Kiota-generated API clients. In versions 1.0.0-preview.97 through 1.0.0-preview.101, `@microsoft/kiota-http-fetchlibrary`'s `RedirectHandler` is documented as stripping `Authorization` and `Cookie` from cross-origin redirect targets, but the default `scrubSensitiveHeaders` callback in `RedirectHandlerOptions` uses case-sensitive property deletion (`delete headers.Authorization`, `delete headers.Cookie`) on a headers object that `FetchRequestAdapter.getRequestFromRequestInformation` has already lower-cased. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
Description
@microsoft/kiota-http-fetchlibrary provides TypeScript libraries for Kiota-generated API clients. In versions 1.0.0-preview.97 through 1.0.0-preview.101, `@microsoft/kiota-http-fetchlibrary`'s `RedirectHandler` is documented as stripping `Authorization` and `Cookie` from cross-origin redirect targets, but the default `scrubSensitiveHeaders` callback in `RedirectHandlerOptions` uses case-sensitive property deletion (`delete headers.Authorization`, `delete headers.Cookie`) on a headers object that `FetchRequestAdapter.getRequestFromRequestInformation` has already lower-cased. The delete therefore targets keys that do not exist, the scrub is a no-op, and any Bearer token or Cookie attached by a kiota-generated SDK is forwarded to an attacker-controlled host across a 30x redirect. This is reachable in the default middleware chain (`MiddlewareFactory.getDefaultMiddlewares`) with no custom configuration, and applies to every kiota-generated TypeScript SDK that uses `BaseBearerTokenAuthenticationProvider` or any other authentication provider that sets the `Authorization` request header. Version 1.0.0-preview.102 patches the issue.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49336?
How severe is CVE-2026-49336?
How do I fix CVE-2026-49336?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49325Improper handling of physical conditions in the bike-shutdow…4.6
- CVE-2026-49326Missing Authorization vulnerability in Apache HBase thrift a…6.5
- CVE-2026-49328Server-Side Request Forgery (SSRF) in the UrlImageConverter …5.3
- CVE-2026-4933Incorrect Authorization vulnerability in Drupal Unpublished …7.5
- CVE-2026-49331A flaw was found in openshift/oauth-proxy. On paths configur…6.5
- CVE-2026-49332A flaw was found in openshift/oauth-proxy. The proxy sets au…8.5
- CVE-2026-49337libde265 is an open source implementation of the h.265 video…4.3
- CVE-2026-49338gonic is a music streaming server / free-software subsonic s…7.1
- CVE-2026-49339gonic is a music streaming server / free-software subsonic s…7.1
- CVE-2026-49340gonic is a music streaming server / free-software subsonic s…8.1
- CVE-2026-49342YARD is a documentation generation tool for the Ruby program…5.3
- CVE-2026-49343Klever-Go is the Go implementation of the Klever blockchain …5.9
Are you affected by CVE-2026-49336?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
