Skip to content

fix(deps): bump Microsoft.Kiota.Abstractions to 1.22.2 (backport #23228) - #23286

Merged
agneszitte merged 2 commits into
release/stable/6.5from
mergify/bp/release/stable/6.5/pr-23228
May 18, 2026
Merged

agneszitte merged 2 commits into
release/stable/6.5from
mergify/bp/release/stable/6.5/pr-23228

Conversation

@mergify

@mergify mergify Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Override the vulnerable transitive Microsoft.Kiota.Abstractions 1.9.1 (advisory GHSA-7j59-v9qr-6fq9, high severity) pulled in by Microsoft.Graph 5.56.0.
  • Pin to 1.22.2 (latest 1.x, fix landed in 1.22.0). Stays inside Microsoft.Graph 5.56.0''s [1.9.1, 2.0.0) constraint, so there is no risk of breaking the Graph dependency closure.
  • Mirrors the existing Configuration!=Debug condition on the Microsoft.Graph reference, so Debug builds (where audit warnings are downgraded via WarningsNotAsErrors in Directory.Build.props) are untouched.

Why

Release builds of any project that transitively pulls in Microsoft.Graph from SamplesApp.Skia were failing with:

NU1903: Warning As Error: Package ''Microsoft.Kiota.Abstractions'' 1.9.1 has a known high severity vulnerability,
https://github.com/advisories/GHSA-7j59-v9qr-6fq9

Observed on SamplesApp.Skia.Generic (which references SamplesApp.Skia via a ProjectReference).

The advisory: RedirectHandler middleware was forwarding sensitive headers (Cookie, Proxy-Authorization, custom headers) on cross-host redirects. Fixed in 1.22.0.

Test plan

  • dotnet restore src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csproj succeeds.
  • Release build of SamplesApp.Skia.Generic no longer reports NU1903 for Microsoft.Kiota.Abstractions.
  • Debug build of SamplesApp.Skia.Generic is unchanged (Microsoft.Graph + override are both Release-only).
  • CI for SamplesApp.Skia and dependent heads passes.

🤖 Generated with Claude Code


This is an automatic backport of pull request #23228 done by Mergify.

MartinZikmund and others added 2 commits May 18, 2026 17:17
Override vulnerable transitive Microsoft.Kiota.Abstractions 1.9.1
(GHSA-7j59-v9qr-6fq9) pulled in by Microsoft.Graph 5.56.0 to resolve
NU1903 build errors when consuming projects (e.g. SamplesApp.Skia.Generic)
audit transitive dependencies in Release.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
(cherry picked from commit eaddee9)
@agneszitte

Copy link
Copy Markdown
Member

/azp run

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ MartinZikmund
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions Bot added the area/automation Categorizes an issue or PR as relevant to project automation label May 18, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@agneszitte
agneszitte merged commit 94e7f95 into release/stable/6.5 May 18, 2026
14 of 30 checks passed
@agneszitte
agneszitte deleted the mergify/bp/release/stable/6.5/pr-23228 branch May 18, 2026 17:26
@unodevops

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants