PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40254 FreeRDP CVE debrief

CVE-2026-40254 is a vulnerability in FreeRDP, a free implementation of the Remote Desktop Protocol. An off-by-one error in the path traversal filter could allow a rogue RDP server to access files one directory above the client's shared folder. This requires drive redirection to be enabled. The issue was patched in version 3.25.0. Affected systems should be assessed for exposure, and patching or mitigation should be prioritized. The vulnerability exists due to the `contains_dotdot()` function failing to catch `..` when it's the last component with no trailing separator, allowing unauthorized access to sensitive files.

Vendor
FreeRDP
Product
Unknown
CVSS
MEDIUM 4.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-24
Original CVE updated
2026-11-11
Advisory published
2026-04-24
Advisory updated
2026-11-11

Who should care

Defenders responsible for systems using FreeRDP, especially those with drive redirection enabled, should assess exposure and prioritize patching or mitigation. This includes reviewing system configurations, verifying affected versions, and monitoring for suspicious activity. Security teams should also track exceptions and retest remediated assets to ensure the vulnerability is properly addressed.

Why it matters

CVE-2026-40254 is a medium-severity vulnerability in FreeRDP that could allow unauthorized access to sensitive files. Defenders should prioritize patching or mitigation, especially for systems with drive redirection enabled.

  • Potential unauthorized access to sensitive files
  • Possible data breaches or integrity loss
  • Requires verification of affected systems and versions

Technical summary

The vulnerability exists in the `channels/drive/client/drive_file.c` file, where the `contains_dotdot()` function fails to catch `..` when it's the last component with no trailing separator. This allows a rogue RDP server to read, list, or write files one directory above the client's shared folder through RDPDR requests. The issue was patched in version 3.25.0. Defenders should prioritize patching or mitigating this vulnerability, especially for systems with drive redirection enabled. Affected product deployments should be identified, and owners assigned for follow-up.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially for systems with drive redirection enabled.

Recommended defensive actions

  • Patch FreeRDP to version 3.25.0 or later
  • Disable drive redirection if not required
  • Monitor RDP connections for suspicious activity
  • Review compensating controls for exposed systems
  • Conduct an inventory of assets using FreeRDP
  • Verify system configurations and update documentation
  • Track exceptions and retest remediated assets

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, its impact, and the patched version. However, there is limited information on potential exploitation or affected systems. Defenders should verify the presence of affected systems and versions in their environment, review official advisories for specific guidance, and monitor for suspicious RDP activity. The vulnerability's impact is medium-severity, and it requires drive redirection to be enabled for exploitation.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40254 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40254

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40254 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40254

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-3xpj-m4hx-8vmx

    [email protected] - Exploit, Mitigation, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.