Skip to content

Update MSRDC.exe package to fix CVE-2026-32157 #40868

Closed

Description

@jbdeltra

WSL bundles msrdc.exe and the NuGet package Microsoft.RemoteDesktop.Client.MSRDC.SessionHost, currently pinned to 1.2.6353 in packages.config. This version is flagged by vulnerability scanners (e.g. Qualys QID 92381) for CVE-2026-32157, a use-after-free RCE in the Remote Desktop client. The standalone Remote Desktop client was patched in 1.2.7099.0, but the WSL-bundled SessionHost package still ships the older build.

Activity

  1. github-actions commented on Jun 22, 2026

    @github-actions
    Contributor

    Logs are required for review from WSL team

    If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
    Otherwise, please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

    How to collect WSL logs

    Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

    Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
    Set-ExecutionPolicy Bypass -Scope Process -Force
    .\collect-wsl-logs.ps1
    

    The script will output the path of the log file once done.

    If this is a networking issue, please use .\collect-wsl-logs.ps1 -LogProfile networking instead, following the instructions in Collect WSL logs for networking issues

    Once completed please upload the output files to this GitHub issue.

    See Collect WSL logs (recommended method).

    If you choose to email these logs instead of attaching them to the bug, please send them to [email protected] with the GitHub issue number in the subject, and include a link to your GitHub issue comment in the message body, and reply with '/emailed-logs'.

  2. jbdeltra commented on Jun 22, 2026

    @jbdeltra
    Author
  3. github-actions commented on Jun 22, 2026

    @github-actions
    Contributor
    Diagnostic information
    Found '/feature', adding tag 'feature'
    
  4. OneBlue commented on Jun 23, 2026

    @OneBlue
    Collaborator

    Hideyuki Nagase (@hideyukn88): Is there a fixed msrdc.exe that we could consume in WSL ?

  5. benhillis commented on Jun 23, 2026

    @benhillis
    Member

    @hideyukn88: Is there a fixed msrdc.exe that we could consume in WSL ?

    I will take care of this.

  6. benhillis commented on Jun 23, 2026

    @benhillis
    Member

    Opened #40882 to bump MSRDC to 1.2.7214, which fixes CVE-2026-32157 (plus several later CVEs). Thanks for the report.

  7. added a commit that references this issue on Jun 23, 2026
    2a7269e
  8. jbdeltra commented on Jun 23, 2026

    @jbdeltra
    Author

    Wonderful, thanks everyone! :)

  9. added 2 commits that reference this issue on Jul 23, 2026
    b808b2c
    acbcb81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions