Skip to content

fix: Update kiota dependencies to resolve credential leak vulnerability (GHSA-396q-4vc8-28x9) - #574

Merged
gavinbarron merged 1 commit into
mainfrom
fix/update-kiota-deps-security-vuln
May 26, 2026
Merged

fix: Update kiota dependencies to resolve credential leak vulnerability (GHSA-396q-4vc8-28x9)#574
gavinbarron merged 1 commit into
mainfrom
fix/update-kiota-deps-security-vuln

Conversation

@gavinbarron

Copy link
Copy Markdown
Member

Summary

Updates all outdated npm dependencies to their latest versions to resolve security vulnerability GHSA-396q-4vc8-28x9.

Changes

Package Old New
@microsoft/kiota-bundle ^1.0.0-preview.82 ^1.0.0-preview.102
@microsoft/kiota-authentication-azure ^1.0.0-preview.82 ^1.0.0-preview.102
@azure/core-auth ^1.9.0 ^1.10.1
tslib ^2.6.2 ^2.8.1

Security Fix

The RedirectHandler's defaultScrubSensitiveHeaders in @microsoft/kiota-http-fetchlibrary (transitive dep via kiota-bundle) used case-sensitive property deletion on lower-cased header keys, causing Authorization and Cookie headers to leak on cross-origin redirects. Fixed in 1.0.0-preview.102.

Closes #573

…ty (GHSA-396q-4vc8-28x9)

Update @microsoft/kiota-bundle and @microsoft/kiota-authentication-azure
from ^1.0.0-preview.82 to ^1.0.0-preview.102 to resolve a security
vulnerability in @microsoft/kiota-http-fetchlibrary where the
RedirectHandler's defaultScrubSensitiveHeaders callback failed to strip
Authorization and Cookie headers on cross-origin redirects due to a
case-sensitivity mismatch.

Also updates @azure/core-auth (^1.9.0 -> ^1.10.1) and tslib (^2.6.2 -> ^2.8.1).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gavinbarron
gavinbarron requested a review from a team as a code owner May 26, 2026 18:42
@gavinbarron
gavinbarron merged commit 13afe3b into main May 26, 2026
10 checks passed
@gavinbarron
gavinbarron deleted the fix/update-kiota-deps-security-vuln branch May 26, 2026 18:57
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.

Security: Authorization/Cookie headers leaked on cross-origin redirects (GHSA-396q-4vc8-28x9)

2 participants