Home / microsoft / kiota-typescript / CVE-2026-49336
CVE-2026-49336: is it exploited, and which versions of microsoft kiota-typescript are affected and fixed?
CVE-2026-49336 is an improper Handling of Case Sensitivity vulnerability in microsoft kiota-typescript. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: @microsoft/kiota-http-fetchlibrary from 1.0.0-preview.97 before 1.0.0-preview.102 (GitHub advisory GHSA-396q-4vc8-28x9). Fixed in 1.0.0-preview.102 (GitHub advisory GHSA-396q-4vc8-28x9). Severity: Medium (5.5, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-49336?
@microsoft/kiota-http-fetchlibrary: Bearer token and Cookie leak across origin on redirect due to case-mismatched scrub in fetchRequestAdapter
@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.
From the CVE record by GitHub_M, last updated June 22, 2026, 15:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| microsoft | kiota-typescript | >= 1.0.0-preview.97, < 1.0.0-preview.102 |
As the CVE record by GitHub_M states it, last updated June 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @microsoft/kiota-http-fetchlibrary | >= 1.0.0-preview.97, < 1.0.0-preview.102 | 1.0.0-preview.102 | GHSA-396q-4vc8-28x9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 26, 2026. Summary: @microsoft/kiota-http-fetchlibrary: Bearer token and Cookie leak across origin on redirect due to case-mismatched scrub in fetchRequestAdapter.
How severe is CVE-2026-49336?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-49336 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, June 22, 2026)
- EPSS
- 0.75% probability of exploitation activity in the next 30 days, percentile 56.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-178 Improper Handling of Case Sensitivity
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/microsoft/kiota-typescript/security/advisories/GHSA-396q-4vc8-28x9 x_refsource_CONFIRM
- https://github.com/microsoft/kiota-typescript/commit/09f8bd9b34d68bf412a9b78f6ca7e7961ef14974 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 29, 2026
- Published
- June 19, 2026, 18:19 UTC
- CVE record updated
- June 22, 2026, 15:05 UTC by GitHub_M
- NVD
- Deferred, last modified October 25, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kiota-typescript?
- May 14, 2026CVE-2026-44503 microsoft kiota-java: open redirect
Questions about CVE-2026-49336
Is CVE-2026-49336 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.75% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of microsoft kiota-typescript are affected by CVE-2026-49336?
@microsoft/kiota-http-fetchlibrary from 1.0.0-preview.97 before 1.0.0-preview.102, per the GitHub advisory GHSA-396q-4vc8-28x9. The tables above give every range the sources list.
Which version fixes CVE-2026-49336?
1.0.0-preview.102, per the GitHub advisory GHSA-396q-4vc8-28x9. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-49336?
Medium (5.5, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-49336?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.