Skip to content

Merging internal commits for release/10.0.3xx - #7154

Merged
marcpopMSFT merged 12 commits into
dotnet:release/10.0.3xxfrom
vseanreesermsft:internal-merge-10.0.3xx-2026-06-09-1508
Jun 10, 2026
Merged

marcpopMSFT merged 12 commits into
dotnet:release/10.0.3xxfrom
vseanreesermsft:internal-merge-10.0.3xx-2026-06-09-1508

Conversation

@vseanreesermsft

Copy link
Copy Markdown

No description provided.

nagilson and others added 12 commits May 6, 2026 12:16
backport of https://dev.azure.com/dnceng/internal/_git/dotnet-sdk/pullrequest/60602?path=/src/Cli/dotnet in the vmr which is needed for .net 10. includes changes that are specific to .net 10 versions of the source code, namely file namespaces / scopes
Restrict Workload Pipes 10.0.3xx

backport of https://dev.azure.com/dnceng/internal/_git/dotnet-sdk/pullrequest/60602?path=/src/Cli/dotnet in the vmr which is needed for .net 10. includes changes that are specific to .net 10 versions of the source code, namely file namespaces / scopes

----
#### AI description  (iteration 1)
#### PR Classification
Security enhancement to restrict workload pipe access and prevent directory traversal attacks in the .NET SDK installer.

#### PR Summary
This PR implements security hardening for the workload installer by restricting named pipe access to specific users and validating file paths to prevent directory traversal attacks.

- `WindowsUtils.cs`: Added methods to retrieve process user SIDs, create restricted pipe security with user-specific access (not all authenticated users), and validate paths against traversal attacks
- `NetSdkMsiInstallerServer.cs`: Modified pipe security configuration to grant access only to the parent process's user instead of all authenticated users
- `MsiInstallerBase.cs` and `MsiPackageCache.cs`: Added path validation using `ValidatePackagePath`, `ValidatePathComponent`, and `ValidateLogFilePath` to prevent directory traversal
- `WindowsInstallerTests.cs`: Added comprehensive unit tests for path validation, pipe security, and traversal attack prevention
- `NativeMethods.cs`: Added `OpenProcessToken` P/Invoke for retrieving process security tokens
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
… dnceng/internal/dotnet-dotnet

This pull request updates the following dependencies

[marker]: <> (Begin:3ed06ccc-72db-4136-8a02-c9db8e46195c)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet
- **Subscription**: [3ed06ccc-72db-4136-8a02-c9db8e46195c](https://maestro.dot.net/subscriptions?search=3ed06ccc-72db-4136-8a02-c9db8e46195c)
- **Build**: [20260515.17](https://dev.azure.com/dnceng/internal/_build/results?buildId=2976129) ([314582](https://maestro.dot.net/channel/8858/azdo:dnceng:internal:dotnet-dotnet/build/314582))
- **Date Produced**: May 16, 2026 3:51:27 AM UTC
- **Commit**: [ce4003e](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?_a=history&version=GCce4003e1780ffc11da98499334112b75a598837a)
- **Branch**: [refs/heads/internal/release/10.0.1xx](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?version=GBrefs/heads/internal/release/10.0.1xx)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - 📂 `root`
    - From [10.0.0-beta.26229.119 to 10.0.0-beta.26265.117][1]
       - Microsoft.DotNet.Build.Manifest
    - From [10.0.108-servicing.26229.119 to 10.0.109-servicing.26265.117][1]
       - Microsoft.NET.Sdk
    - From [10.0.8 to 10.0.9][1]
       - Microsoft.NETCore.App.Ref
    - From [10.0.8-servicing.26229.119 to 10.0.9-servicing.26265.117][1]
       - Microsoft.NETCore.Platforms
  - 📂 `src/roslyn`
    - From [2.0.8 to 2.0.9][1]
       - System.CommandLine
  - 📂 `src/scenario-tests`
    - From [2.0.8 to 2.0.9][1]
       - System.CommandLine
  - 📂 `src/sdk`
    - From [10.0.8-servicing.26229.119 to 10.0.9-servicing.26265.117][1]
       - dotnet-dev-certs
       - dotnet-user-jwts
       - dotnet-user-secrets
       - Microsoft.AspNetCore.Analyzers
       - Microsoft.AspNetCore.App.Ref.Internal
       - Microsoft.AspNetCore.Components.SdkAnalyzers
       - Microsoft.AspNetCore.DeveloperCertificates.XPlat
       - Microsoft.AspNetCore.Mvc.Analyzers
       - Microsoft.AspNetCore.Mvc.Api.Analyzers
       - Microsoft.Dotnet.WinForms.ProjectTemplates
       - Microsoft.DotNet.Wpf.ProjectTemplates
       - Microsoft.NET.HostModel
       - Microsoft.NET.Sdk.WindowsDesktop
       - Microsoft.NETCore.Platforms
       - Microsoft.WindowsDesktop.App.Internal
    - From [10.0.8 to 10.0.9][1]
       - Microsoft.AspNetCore.App.Ref
       - Microsoft.AspNetCore.Authentication.Facebook
       - Microsoft.AspNetCore.Authentication.Google
       - Microsoft.AspNetCore.Authentication.MicrosoftAccount
       - Microsoft.AspNetCore.Authorization
       - Microsoft.AspNetCore.Components
       - Microsoft.AspNetCore.Components.Analyzers
       - Microsoft.AspNetCore.Components.Forms
       - Microsoft.AspNetCore.Components.Web
       - Microsoft.AspNetCore.Components.WebAssembly
       - Microsoft.AspNetCore.Components.WebAssembly.Server
       - Microsoft.AspNetCore.Components.WebView
       - Microsoft.AspNetCore.Metadata
       - Microsoft.AspNetCore.TestHost
       - Microsoft.Bcl.AsyncInterfaces
       - Mic...
… dnceng/internal/dotnet-dotnet

This pull request updates the following dependencies

[marker]: <> (Begin:3ed06ccc-72db-4136-8a02-c9db8e46195c)
## From https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet
- **Subscription**: [3ed06ccc-72db-4136-8a02-c9db8e46195c](https://maestro.dot.net/subscriptions?search=3ed06ccc-72db-4136-8a02-c9db8e46195c)
- **Build**: [20260520.8](https://dev.azure.com/dnceng/internal/_build/results?buildId=2979997) ([315276](https://maestro.dot.net/channel/8858/azdo:dnceng:internal:dotnet-dotnet/build/315276))
- **Date Produced**: May 20, 2026 11:17:18 PM UTC
- **Commit**: [e324605](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?_a=history&version=GCe3246058490de40dc0dfd381bb8904c115a3a67a)
- **Branch**: [refs/heads/internal/release/10.0.109](https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet?version=GBrefs/heads/internal/release/10.0.109)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - 📂 `root`
    - From [10.0.0-beta.26268.115 to 10.0.0-beta.26270.108][1]
       - Microsoft.DotNet.Build.Manifest
    - From [10.0.109-servicing.26268.115 to 10.0.109-servicing.26270.108][1]
       - Microsoft.NET.Sdk
    - From [10.0.9 to 10.0.9][1]
       - Microsoft.NETCore.App.Ref
    - From [10.0.9-servicing.26268.115 to 10.0.9-servicing.26270.108][1]
       - Microsoft.NETCore.Platforms
  - 📂 `src/roslyn`
    - From [2.0.9 to 2.0.9][1]
       - System.CommandLine
  - 📂 `src/scenario-tests`
    - From [2.0.9 to 2.0.9][1]
       - System.CommandLine
  - 📂 `src/sdk`
    - From [10.0.9-servicing.26268.115 to 10.0.9-servicing.26270.108][1]
       - dotnet-dev-certs
       - dotnet-user-jwts
       - dotnet-user-secrets
       - Microsoft.AspNetCore.Analyzers
       - Microsoft.AspNetCore.App.Ref.Internal
       - Microsoft.AspNetCore.Components.SdkAnalyzers
       - Microsoft.AspNetCore.DeveloperCertificates.XPlat
       - Microsoft.AspNetCore.Mvc.Analyzers
       - Microsoft.AspNetCore.Mvc.Api.Analyzers
       - Microsoft.Dotnet.WinForms.ProjectTemplates
       - Microsoft.DotNet.Wpf.ProjectTemplates
       - Microsoft.NET.HostModel
       - Microsoft.NET.Sdk.WindowsDesktop
       - Microsoft.NETCore.Platforms
       - Microsoft.WindowsDesktop.App.Internal
    - From [10.0.9 to 10.0.9][1]
       - Microsoft.AspNetCore.App.Ref
       - Microsoft.AspNetCore.Authentication.Facebook
       - Microsoft.AspNetCore.Authentication.Google
       - Microsoft.AspNetCore.Authentication.MicrosoftAccount
       - Microsoft.AspNetCore.Authorization
       - Microsoft.AspNetCore.Components
       - Microsoft.AspNetCore.Components.Analyzers
       - Microsoft.AspNetCore.Components.Forms
       - Microsoft.AspNetCore.Components.Web
       - Microsoft.AspNetCore.Components.WebAssembly
       - Microsoft.AspNetCore.Components.WebAssembly.Server
       - Microsoft.AspNetCore.Components.WebView
       - Microsoft.AspNetCore.Metadata
       - Microsoft.AspNetCore.TestHost
       - Microsoft.Bcl.AsyncInterfaces
       - Mic...
@vseanreesermsft
vseanreesermsft requested review from a team as code owners June 9, 2026 22:09
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team June 9, 2026 22:09
@marcpopMSFT

Copy link
Copy Markdown
Member

expected changes to the versions files so that check is not applicable

@marcpopMSFT
marcpopMSFT merged commit 7b2c1d0 into dotnet:release/10.0.3xx Jun 10, 2026
6 of 8 checks passed
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team June 10, 2026 22:03
@marcpopMSFT

Copy link
Copy Markdown
Member

@jeffhandley step 1 of unblocking the MCP flow into 3xx. Need a passing CI here, then backflow to sdk, then remerge the inter-branch flow over there as the remaining steps.

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.

3 participants