Skip to content

Enforce channel binding policy on Unix - #137268

Merged
rbhanda merged 2 commits into
dotnet:mainfrom
rbhanda:security/nov2026-channel-binding-policy
Nov 11, 2026
Merged

rbhanda merged 2 commits into
dotnet:mainfrom
rbhanda:security/nov2026-channel-binding-policy

Conversation

@rbhanda

@rbhanda rbhanda commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Enforce Unix channel-binding policy for CVE-2026-118746:

  • require GSSAPI to report GSS_C_CHANNEL_BOUND_FLAG when a server supplies a binding with PolicyEnforcement.Always;
  • fail with BadBinding when matching bindings cannot be confirmed;
  • keep IsAuthenticated false after authentication failures;
  • cover matching, mismatched, and missing-client-binding policy combinations.

The public advisory describes an authentication security-feature bypass caused by failing open.

Validation

  • git diff --check passed.
  • The required clean libraries baseline was attempted with .\build.cmd clr+libs -rc release, but the repository build stopped because Windows long-path support is disabled on this machine.
  • The Kerberos regression is Linux-specific and was not run locally. Normal PR CI is required before merge.

Public advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-118746

Note

This pull request description was generated with GitHub Copilot.

Require GSSAPI to confirm matching channel bindings when PolicyEnforcement.Always is requested, and keep failed authentication state closed.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: fdac132c-0926-4fda-8c97-88ae5b59b9fd
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
11 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@rbhanda
rbhanda requested a review from rzikm November 10, 2026 18:37
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/ncl, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

@rbhanda
rbhanda marked this pull request as ready for review November 10, 2026 22:31
@rbhanda
rbhanda enabled auto-merge (squash) November 10, 2026 23:48
@rzikm

rzikm commented Nov 11, 2026

Copy link
Copy Markdown
Member

/ba-g Test failure is unrelated

@rbhanda
rbhanda merged commit 7cde1b9 into dotnet:main Nov 11, 2026
85 of 87 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants