Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PowerShell/PowerShell
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a1994c1
Choose a base ref
...
head repository: PowerShell/PowerShell
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: abeb844
Choose a head ref
  • 8 commits
  • 11 files changed
  • 9 contributors

Commits on Jul 7, 2026

  1. [release/v7.6.4] PMC: Download deb_arm artifact to ensure package is …

    …available for PMC publish flow (#27653)
    
    Co-authored-by: Anam Navied <anam.naviyou@gmail.com>
    SeeminglyScience and anamnavi authored Jul 7, 2026
    Configuration menu
    Copy the full SHA
    f419c58 View commit details
    Browse the repository at this point in the history
  2. [release/v7.6.4] Separate NuGet publish into its own stage after push…

    …ing the git tag (#27652)
    
    Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
    Co-authored-by: Justin Chung <chungjustin@microsoft.com>
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
    5 people authored Jul 7, 2026
    Configuration menu
    Copy the full SHA
    42b0022 View commit details
    Browse the repository at this point in the history
  3. [release/v7.6.4] Avoid calling credential provider for public feed fo…

    …r Wix (#27666)
    
    Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
    SeeminglyScience and adityapatwardhan authored Jul 7, 2026
    Configuration menu
    Copy the full SHA
    22787a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2026

  1. Configuration menu
    Copy the full SHA
    f07e83f View commit details
    Browse the repository at this point in the history
  2. Merged PR 40623: Validate CAB path before expansion (#167)

    Backport of [PowerShell-MSRC PR 167](https://github.com/azure-core-compute/PowerShell-MSRC/pull/167) to `release/v7.6.4`.
    
    ## Scope
    - Cherry-picked the two implementation commits from the approved private PR.
    - Excluded the unrelated debugger-test timeout commit because that test is absent from the target release branch.
    - Changes one implementation file only.
    
    ## Validation
    - Source PR CI, CodeQL, and Advanced Security checks passed.
    - `Start-PSBuild -Configuration Release -SMAOnly -Runtime fxdependent-win-desktop -UseNuGetOrg` passed on the backport.
    - Targeted path-validation checks passed against the built assembly.
    
    ## Confidentiality
    This branch and PR must remain in `mscodehub`. Do not mirror or push these commits or this branch to GitHub before coordinated disclosure.
    
    ----
    #### AI description  (iteration 1)
    #### PR Classification
    Security bug fix addressing path traversal vulnerabilities in CAB file extraction.
    
    #### PR Summary
    This PR applies a private servicing fix to prevent path traversal attacks during CAB file extraction by validating that extracted files remain within the intended help directory.
    
    - `CabinetNativeApi.cs`: Added `ValidateExtractionPath()` method to reject rooted paths, UNC paths, paths with colons (blocking Alternate Data Streams), and paths that resolve outside the intended directory
    - `CabinetNativeApi.cs`: Modified `FdintCOPY_FILE` and `FdintCLOSE_FILE_INFO` notification handlers to validate extraction paths and wrap operations in try-catch blocks to safely reject malicious CAB entries
    - `CabinetNativeApi.cs`: Enhanced error handling to return appropriate failure codes when path validation or file operations fail
    <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
    
    
    Related work items: #164396
    Justin Chung committed Jul 15, 2026
    Configuration menu
    Copy the full SHA
    ade8e8f View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2026

  1. Merged PR 40640: [release/v7.6.4] Backport Windows build pipeline fixes

    Backports the build fixes from mscodehub PRs 40633 and 40638 to `release/v7.6.4`.
    
    ## Scope
    - Replays PR 40633's prerequisite chain: PR 40625, PR 40632, then PR 40633.
    - Cherry-picks the current source commit from PR 40638 (`f507709e175428305a9bd17d816c0a1ab9b40c28`).
    - Changes only `tools/wix/wix.psm1` and `tools/packaging/packaging.psm1`.
    
    ## Changes
    - Ensures Microsoft.PowerShell.PSResourceGet 1.2.0 or newer is available, installing it from an explicitly registered PowerShell CFS v2 feed when necessary.
    - Adds `-sval` to the WiX `light.exe` invocation to skip ICE validation in CI.
    
    ## Source PRs
    - [40625](https://dev.azure.com/mscodehub/PowerShellCore/_git/PowerShell/pullrequest/40625)
    - [40632](https://dev.azure.com/mscodehub/PowerShellCore/_git/PowerShell/pullrequest/40632)
    - [40633](https://dev.azure.com/mscodehub/PowerShellCore/_git/PowerShell/pullrequest/40633)
    - [40638](https://dev.azure.com/mscodehub/PowerShellCore/_git/PowerShell/pullrequest/40638)
    
    ## Validation
    - Each backport commit has the same stable patch ID as its source commit.
    - Both changed PowerShell modules parse without errors.
    - The branch diff passes `git diff --check`.
    
    ## Repository boundary
    This branch and PR must remain in `mscodehub`; do not mirror or push this branch to GitHub before the PowerShell 7.6.4 release.
    
    ----
    #### AI description  (iteration 1)
    #### PR Classification
    Bug fixes for Windows build pipeline to resolve WiX tooling installation and MSI build validation issues.
    
    #### PR Summary
    This pull request addresses critical issues in the Windows build pipeline by fixing the WiX module installation process and MSI build validation. The changes ensure proper version checking for PSResourceGet module and suppress schema validation during MSI builds.
    
    - `/tools/wix/wix.psm1`: Added version check for PSResourceGet (minimum v1.2.0), implemented custom PSRepository registration for reliable module installation, and improved error handling with try-finally block
    - `/tools/packaging/packaging.psm1`: Added `-sval` flag to suppress schema validation during WiX Light execution to prevent build failures
    - `/tools/packaging/packaging.psm1`: Minor whitespace cleanup for code formatting consistency
    <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
    Justin Chung committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    929d27f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c7035e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abeb844 View commit details
    Browse the repository at this point in the history
Loading