[S360] 1ES OSS — fix CVE-2026-44503 in Kiota - #483
Merged
Beka Arevadze (BekaAre) merged 2 commits intoAug 5, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0faa6ce9-9ec5-4281-a3f2-dc1f9c9f7c0a
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses CVE-2026-44503 by ensuring the CLI resolves a fixed Microsoft.Kiota.Abstractions version via central NuGet package management, while keeping the existing Microsoft.Graph version to avoid a broader dependency upgrade.
Changes:
- Pin
Microsoft.Kiota.Abstractionsto1.22.0using central package management (transitive pinning enabled). - Update/replace the adjacent explanatory comments near the Graph dependency block.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0faa6ce9-9ec5-4281-a3f2-dc1f9c9f7c0a
Krishnadheeraj (DheerajPannala)
approved these changes
Aug 5, 2026
Krishnadheeraj (DheerajPannala)
left a comment
There was a problem hiding this comment.
Approving since all tests are good and
The one real Graph code path the CLI has (GraphServiceClient(credential, scopes) → Me.GetAsync()) executed identically under 1.7.2 and 1.22.2,
Beka Arevadze (BekaAre)
enabled auto-merge (squash)
August 5, 2026 11:22
Rick Brighenti (rbrighenti)
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security issue
CVE-2026-44503 / GHSA-7j59-v9qr-6fq9 affects
Microsoft.Kiota.Abstractionsversions before 1.22.0. Sensitive headers can leak when redirects cross host or scheme boundaries. The CLI resolved the vulnerable transitive version 1.7.2 throughMicrosoft.Graph5.36.0.Change and rationale
Microsoft.Kiota.Abstractionsto 1.22.2, the latest compatible 1.x release and above the fixed-version floor.Microsoft.Graphversion to avoid an unrelated broad SDK upgrade.DiagnosticSourcecomment, which previously described the vulnerable 1.7.2 dependency.What changed from Kiota 1.7.2 to 1.22.2
The official current changelog and historical abstractions changelog document the following 1.x evolution:
The dependency graph also moves
Std.UriTemplatefrom 0.0.46 to 2.0.8. No breaking changes are documented across this 1.x interval. Kiota 2.x is intentionally avoided because it removes APIs and drops net5/net6 targets.S360 closure: Component Governance alert 13799990 affected Kiota versions below 1.22.0. The resolved graph now uses 1.22.2 and the vulnerability scan is clean for Kiota, but the S360 item clears only after this PR merges to
main, Component Governance rescans that branch, and S360 ingests the refreshed result.Validation
dotnet restore .\src\Microsoft.Agents.A365.DevTools.Cli\Microsoft.Agents.A365.DevTools.Cli.csproj --nologodotnet restore .\src\Tests\Microsoft.Agents.A365.DevTools.Cli.Tests\Microsoft.Agents.A365.DevTools.Cli.Tests.csproj --nologodotnet build .\src\Microsoft.Agents.A365.DevTools.Cli\Microsoft.Agents.A365.DevTools.Cli.csproj --configuration Release --no-restore --nologodotnet test .\src\Tests\Microsoft.Agents.A365.DevTools.Cli.Tests\Microsoft.Agents.A365.DevTools.Cli.Tests.csproj --configuration Release --no-restore --nologodotnet list .\src\Microsoft.Agents.A365.DevTools.Cli\Microsoft.Agents.A365.DevTools.Cli.csproj package --include-transitiveMicrosoft.Kiota.Abstractionsresolves to 1.22.2 (baseline was 1.7.2).dotnet list .\src\Microsoft.Agents.A365.DevTools.Cli\Microsoft.Agents.A365.DevTools.Cli.csproj package --vulnerable --include-transitive --format jsongit -c core.whitespace=cr-at-eol diff --checkFinding-resolved check: the affected project now resolves
Microsoft.Kiota.Abstractions1.22.2, satisfying the advisory's 1.22.0 fixed-version floor; 1.7.2 is no longer in the resolved graph and Kiota remains absent from vulnerable-package output.Rollback
To roll back only the 1.22.2 patch update, revert commit
c7bef2ace102016feb09955794628e46c37335ab; this returns the pin to fixed version 1.22.0. To remove the complete remediation, revertc7bef2ace102016feb09955794628e46c37335aband then4fc9b6c2f1694f78deedbf5743273230efcbd742, followed by restore/build/test. Removing both commits reintroduces vulnerable transitive version 1.7.2, so it should be used only for diagnosis and followed immediately by another fixed Kiota/Graph upgrade.Reviewers
Directory.Packages.props(PR fix: correct endpoint name derivation for needsDeployment=false and surface exceptions properly #296)..github/CODEOWNERS.