CVE-2019-0887
High · 8.0CVSS
8.0
EPSS
71.0%
Published
Jul 15, 2019
CISA due date
—
Cloudanix analysis
Attackers who can already connect to a Windows computer using remote desktop can trick it into running their own programs by sending bad data through the clipboard feature.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Network Service
- Class
- Path Traversal
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated attacker with RDP access can abuse clipboard redirection to trigger remote code execution on the target system.
Why it matters to the business
Compromised remote desktop sessions can lead to full system takeover, data theft, or lateral movement across Windows environments that rely on RDP for administration or user access.
How an attack unfolds
An attacker with valid credentials connects to a vulnerable Remote Desktop Services host, enables or manipulates clipboard redirection, and crafts malicious clipboard data that triggers the path traversal flaw to execute arbitrary code without further user interaction.
How to fix it
Apply the latest cumulative Windows security updates that address this issue for all affected versions of Windows and Remote Desktop Services; if patching is delayed, disable clipboard redirection via Group Policy or RDP connection settings.
How to confirm the fix worked
Verify that current Windows security updates are installed on all systems exposing Remote Desktop Services; test RDP connections with clipboard redirection disabled to confirm the attack surface is reduced; review update history for KB articles addressing CVE-2019-0887.
Typical attack path
- Obtain valid domain or local credentials for an RDP-accessible account
- Establish an RDP session with clipboard redirection enabled
- Inject specially crafted data through the clipboard channel
- Trigger the flaw to achieve code execution on the target host
- Establish persistence or move laterally from the compromised system
How to detect it
Review Windows Event Logs for TerminalServices-RemoteConnectionManager and TerminalServices-LocalSessionManager events around RDP session establishment; look for unusual clipboard-related activity or processes spawned immediately after RDP logons; correlate with authentication logs from domain controllers.
What your security team should do
- Prioritize deployment of applicable Windows security updates across all affected hosts
- Restrict RDP access to only necessary users and hosts using network controls and MFA
- Disable clipboard redirection by default unless explicitly required for business operations
- Monitor for new exploit code or public proof-of-concepts given the high EPSS score
The record
A remote code execution vulnerability exists in Remote Desktop Services - formerly known as Terminal Services - when an authenticated attacker abuses clipboard redirection, aka 'Remote Desktop Services Remote Code Execution Vulnerability'.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-61725 sevenz-rust2 is a Rust-native 7z compressor and `decompress`or. CWE-22
- CVE-2026-62965 SABnzbd is an open source automated Usenet download tool. CWE-22
- CVE-2026-119342 Stirling-PDF is a locally hosted web application that facilitates various operations on… CWE-22
- CVE-2026-119328 Immich is a high-performance self-hosted photo and video management solution. CWE-22
- CVE-2026-116249 In server mode pgAdmin 4 resolves a server's password file, SSL certificate, key, CRL and… CWE-22
- CVE-2026-116240 In server mode pgAdmin 4 validates a path into the user's storage directory with… CWE-22
- CVE-2026-62331 praktor is a multi-agent Claude Code orchestrator with Telegram input and output, Docker… CWE-22
- CVE-2026-115604 Subscriber Arbitrary File Deletion in SureDash <= 1.12.3 versions. CWE-22