Skip to content

Update npm dependencies to fix GHSA-396q-4vc8-28x9 Bearer token leak vulnerability#995

Merged
gavinbarron merged 1 commit into
mainfrom
fix/ghsa-396q-4vc8-28x9
May 26, 2026
Merged

Update npm dependencies to fix GHSA-396q-4vc8-28x9 Bearer token leak vulnerability#995
gavinbarron merged 1 commit into
mainfrom
fix/ghsa-396q-4vc8-28x9

Conversation

@gavinbarron
Copy link
Copy Markdown
Member

Summary

Updates @microsoft/kiota-http-fetchlibrary and related packages to address GHSA-396q-4vc8-28x9, a critical security vulnerability that leaks Bearer tokens across HTTP redirects.

Changes

  • @microsoft/kiota-authentication-azure: 1.0.0-preview.100 → 1.0.0-preview.102
  • @microsoft/kiota-bundle: 1.0.0-preview.100 → 1.0.0-preview.102
  • @types/chai: 5.2.2 → 5.2.3
  • @types/node: 25.2.3 → 25.9.1
  • mocha: 11.7.5 → 11.7.6

Vulnerability Details

The RedirectHandler in @microsoft/kiota-http-fetchlibrary contains a case-sensitivity bug where sensitive headers (Authorization, Cookie) are forwarded to attacker-controlled hosts across 30x redirects.

Fixes #994

Fixes #994

Update the following packages to address security vulnerabilities:
- @microsoft/kiota-authentication-azure: 1.0.0-preview.100 → 1.0.0-preview.102
- @microsoft/kiota-bundle: 1.0.0-preview.100 → 1.0.0-preview.102
- @types/chai: 5.2.2 → 5.2.3
- @types/node: 25.2.3 → 25.9.1
- mocha: 11.7.5 → 11.7.6

Co-authored-by: Copilot <[email protected]>
@gavinbarron gavinbarron requested a review from a team as a code owner May 26, 2026 15:40
@gavinbarron gavinbarron merged commit 0f8bf87 into main May 26, 2026
11 checks passed
@gavinbarron gavinbarron deleted the fix/ghsa-396q-4vc8-28x9 branch May 26, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update @microsoft/kiota-http-fetchlibrary to fix GHSA-396q-4vc8-28x9 Bearer token leak vulnerability

2 participants