Skip to main content
Vulnerability Database/CVE-2026-109243

CVE-2026-109243: FreeRDP Privilege Escalation Vulnerability

CVE-2026-109243 is a privilege escalation vulnerability in FreeRDP that allows local users to read private keys on multi-user Unix systems. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109243 Overview

CVE-2026-109243 is an insecure permissions vulnerability [CWE-732] in FreeRDP, affecting versions 3.0.0 through 3.31.x. The flaw resides in the crypto_write_pem function, which writes PKINIT private keys to a shared temporary directory during soft-smartcard logon without restricting file permissions to the owner. On multi-user Unix hosts, any local user can enumerate the shared temporary directory and read world-readable private key material. The issue is fixed in FreeRDP 3.32.0.

Critical Impact

Local users on shared Unix hosts can read PKINIT private keys written by FreeRDP during soft-smartcard logon, enabling credential theft and potential impersonation of the RDP user.

Affected Products

  • FreeRDP 3.0.0 through 3.31.x on Unix-like operating systems
  • FreeRDP clients using soft-smartcard logon with PKINIT
  • Downstream distributions packaging vulnerable FreeRDP 3.x releases

Discovery Timeline

  • 2026-10-12 - CVE-2026-109243 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-109243

Vulnerability Analysis

FreeRDP implements soft-smartcard logon by writing a PKINIT private key to a temporary file on disk so that the Kerberos library can consume it. The crypto_write_pem helper creates this PEM file without applying owner-only permission bits. As a result, the resulting file inherits the default umask behavior and is readable by other users on the system.

On a multi-user Unix host, an unprivileged attacker can monitor the shared temporary directory, identify the PKINIT key file, and copy its contents before FreeRDP removes it. The stolen private key corresponds to the smartcard identity used for Kerberos authentication, which lets the attacker request service tickets as the victim.

Root Cause

The root cause is improper permission assignment on sensitive files. crypto_write_pem does not call fchmod or create the file with mode 0600, and it writes to a world-traversable directory such as /tmp. The combination of a predictable location and permissive mode exposes private key material to any local account.

Attack Vector

Exploitation requires local access to the same Unix host that runs the FreeRDP client. The attacker watches the shared temporary directory during an active soft-smartcard logon, opens the PEM file produced by crypto_write_pem, and exfiltrates the key before deletion. No elevated privileges or special capabilities are needed, though the attacker must time the read against the lifetime of the temporary file.

See the FreeRDP GitHub Security Advisory and the VulnCheck Advisory on FreeRDP for additional technical context.

Detection Methods for CVE-2026-109243

Indicators of Compromise

  • PEM-formatted files appearing in /tmp or other shared temporary directories with world-readable permissions during FreeRDP sessions.
  • Unexpected reads of FreeRDP-created temporary files by processes owned by users other than the FreeRDP client user.
  • Local account access to PKINIT key material correlated with subsequent Kerberos ticket requests from the same account.

Detection Strategies

  • Audit file creation events in shared temporary directories and alert on PEM files with modes broader than 0600.
  • Correlate open() and read() syscalls targeting FreeRDP temp files against the UID of the FreeRDP process owner.
  • Hunt for lateral movement following soft-smartcard logon events, especially Kerberos authentications from previously inactive accounts.

Monitoring Recommendations

  • Enable Linux audit rules on /tmp and other shared scratch directories to log file creation and permission metadata.
  • Monitor Kerberos ticket issuance logs for authentications that follow unusual file access patterns on RDP client hosts.
  • Track installed FreeRDP package versions across the fleet and flag hosts still running 3.0.0 through 3.31.x.

How to Mitigate CVE-2026-109243

Immediate Actions Required

  • Upgrade FreeRDP to version 3.32.0 or later on all affected Unix endpoints.
  • Inventory multi-user Unix hosts that run FreeRDP with soft-smartcard logon and prioritize them for patching.
  • Rotate any PKINIT credentials that may have been written to disk by a vulnerable client on a shared system.

Patch Information

The FreeRDP project fixed the issue in release 3.32.0. The patch updates crypto_write_pem to create the PEM file with owner-only permissions so that the private key is not readable by other local users. Refer to the FreeRDP GitHub Security Advisory for the exact commit and backport guidance.

Workarounds

  • Avoid using soft-smartcard logon on multi-user Unix hosts until the client is patched.
  • Set a restrictive umask such as 077 for the user running FreeRDP so new files default to owner-only access.
  • Redirect the FreeRDP temporary directory to a per-user path with mode 0700 using the TMPDIR environment variable.
bash
# Configuration example
umask 077
mkdir -p "$HOME/.freerdp-tmp"
chmod 700 "$HOME/.freerdp-tmp"
export TMPDIR="$HOME/.freerdp-tmp"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.