Improper Handling of Case Sensitivity Affecting @microsoft/kiota-http-fetchlibrary package, versions >=1.0.0-preview.97 <1.0.0-preview.102


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.65% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-MICROSOFTKIOTAHTTPFETCHLIBRARY-17420044
  • published23 Jun 2026
  • disclosed19 Jun 2026
  • credittonghuaroot

Introduced: 19 Jun 2026

NewCVE-2026-49336  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

Upgrade @microsoft/kiota-http-fetchlibrary to version 1.0.0-preview.102 or higher.

Overview

@microsoft/kiota-http-fetchlibrary is an implementation using the Fetch API to make requests.

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity via the executeWithRedirect redirect handling in redirectHandlerOptions.ts. An attacker can capture Authorization, Cookie, or Proxy-Authorization credentials by inducing a redirect to a different host or scheme. The vulnerable header scrub deleted only headers.Authorization and headers.Cookie, so lower-cased header names were left on redirected requests and forwarded to the next origin. This exposes bearer tokens, session cookies, and proxy credentials to the redirect target, increasing the risk of account takeover or credential disclosure for clients that follow untrusted redirects.

Notes

  • The default redirect scrub runs in the standard middleware chain, so applications that rely on the library’s built-in redirect handling are exposed without extra configuration.

CVSS Base Scores

version 4.0
version 3.1