CVE-2024-12686 — BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) OS Command Injection Vulnerability

CVE-2024-12686

BeyondTrust PRA/RS — Admin-Auth OS Command Injection via Malicious File Upload; Used in December 2024 US Treasury Breach

What is BeyondTrust Privileged Remote Access?

BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) are enterprise privileged access management platforms used to provide secure, audited remote access for IT administrators, vendors, and support teams to critical systems and infrastructure. These tools are trusted by governments and large enterprises specifically because they are designed to provide secure privileged access with full session recording, access controls, and audit trails. A compromise of BeyondTrust PRA/RS means an attacker can abuse the privileged access channels these tools provide — accessing systems that the platform was specifically deployed to protect.

Overview

CVE-2024-12686 is an OS command injection vulnerability in BeyondTrust Privileged Remote Access and Remote Support that allows an attacker with existing administrative privileges to upload a malicious file and execute OS commands in the context of the site user. It is the second BeyondTrust vulnerability disclosed in December 2024, companion to the critical unauthenticated CVE-2024-12356. Together they were used by a China-nexus threat actor (reported as Silk Typhoon/UNC5221) to breach the US Treasury Department in December 2024 via a compromised BeyondTrust API key, accessing Treasury workstations and unclassified documents.

Affected Versions

Product Vulnerable Fixed
BeyondTrust PRA 22.1–23.3 23.3.1
BeyondTrust RS 22.1–23.3 23.3.1

Apply the patch per BeyondTrust advisory BT24-11.

Technical Details

CWE-78 (OS Command Injection). The BeyondTrust platform allows administrators to upload certain file types as part of platform configuration or integration workflows. A flaw in the file processing logic fails to adequately sanitize or validate uploaded file content, allowing an attacker with administrative access to upload a file containing OS commands that are subsequently executed by the server in the context of the site user process.

The High Attack Complexity (AC:H) and High Privilege Required (PR:H) ratings reflect that this vulnerability requires an already-authenticated administrator session to exploit — making it a post-authentication escalation technique rather than an initial access vector. However, the companion CVE-2024-12356 (critical, unauthenticated RCE) was chained as the initial access step, after which CVE-2024-12686 was used to further escalate or pivot.

Discovery

BeyondTrust detected anomalous behavior on its own platform infrastructure in December 2024 and alerted affected customers. The US Treasury Department disclosed the breach to Congress in January 2025, describing it as a "major cybersecurity incident" involving access to unclassified Treasury workstations and documents via the compromised BeyondTrust tool.

Exploitation Context

The December 2024 BeyondTrust breach demonstrates how compromising a privileged access management platform provides disproportionate access — not just to the PAM platform itself, but to every system that uses it for remote access. The threat actor used a compromised BeyondTrust API key to override normal authentication and gain access to Treasury workstations. BeyondTrust's customer base includes many high-value government and financial institutions, making it a high-yield target for state-sponsored actors.

Remediation

  1. Apply BeyondTrust PRA/RS update 23.3.1 per advisory BT24-11 immediately.
  2. Also apply the patch for CVE-2024-12356 (the critical unauthenticated companion vulnerability).
  3. Rotate all BeyondTrust API keys and administrator credentials — assume any key issued before the patch date may be compromised.
  4. Review BeyondTrust session logs for unauthorized access dating back to early December 2024.
  5. Audit which systems are accessible via BeyondTrust and ensure proper network segmentation so that a BeyondTrust compromise does not provide unfettered access to all downstream systems.
  6. Enable MFA for all BeyondTrust administrator accounts and restrict admin console access to dedicated management networks.

Key Details

PropertyValue
CVE ID CVE-2024-12686
Vendor / Product BeyondTrust — Privileged Remote Access (PRA) and Remote Support (RS)
NVD Published2024-12-18
NVD Last Modified2025-10-24
CVSS 3.1 Score6.6
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
SeverityMEDIUM
CWE CWE-78 find similar ↗
CISA KEV Added2025-01-13
CISA KEV Deadline2025-02-03
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2025-02-03. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Timeline

DateEvent
2024-12-02BeyondTrust detects anomalous activity; begins investigation; identifies two vulnerabilities (CVE-2024-12356 and CVE-2024-12686)
2024-12-08US Treasury Department notified of compromise via BeyondTrust remote support tool
2024-12-18BeyondTrust publishes security advisory BT24-11 and patches
2025-01-13Added to CISA Known Exploited Vulnerabilities catalog
2025-02-03CISA BOD 22-01 remediation deadline