articles
Critical CVE-2026-1731 Vulnerability in BeyondTrust Remote Support and PRA Exposes Systems to Remote Code Execution

Introduction
A critical vulnerability (CVE-2026-1731, CVSS 9.9) was publicly disclosed on February 6, 2026 affecting BeyondTrust Remote Support (RS) and Privileged Remote Access (PRA). The flaw allows unauthenticated attackers to achieve full remote code execution via a crafted WebSocket message (WebSocket is a persistent, bidirectional communication channel between a client and server, commonly used for real-time features) sent to an internet-facing endpoint, requiring no credentials, no user interaction, and only low complexity. Active exploitation has been confirmed by multiple independent sources including GreyNoise, watchTowr, and Arctic Wolf, with attacks observed within 24 hours of public PoC availability. Immediate patching is required.
Quick Overview
| Attribute | Details |
|---|---|
| CVE | CVE-2026-1731 |
| Severity | Critical (CVSS 9.9 v4.0 / 9.8 v3.1) |
| CWE | CWE-78 (OS Command Injection) |
| Affected Products | BeyondTrust Remote Support (RS), Privileged Remote Access (PRA) |
| Affected Versions | RS 25.3.1 and prior; PRA 24.3.4 and prior (PRA 25.1+ is not affected) |
| Attack Vector | Network |
| Authentication Required | None |
| Exploit Complexity | Low |
| User Interaction | None |
| Active Exploitation | Yes, confirmed (GreyNoise, watchTowr, Arctic Wolf, Darktrace) |
| PoC Available | Yes, public (multiple GitHub repositories including win3zz, referenced by CISA) |
| CISA KEV | Yes (added February 13, 2026; verify due date in official KEV catalog) |
| Fix Available | Yes: RS 25.3.2+ / PRA 25.1.1+ |
What Is BeyondTrust Remote Support & Privileged Remote Access?
BeyondTrust Remote Support (RS) is an enterprise remote access tool that lets IT teams and help desks connect to and control endpoints. Think of it as the enterprise-grade version of tools like TeamViewer or AnyDesk. Privileged Remote Access (PRA) extends that concept specifically for managing privileged sessions: it brokers, monitors, and records connections to sensitive systems while storing the credentials needed to access them.
This is exactly why a vulnerability in these products is so dangerous. BeyondTrust appliances are designed to be internet-facing by default and they hold the keys to an organization’s most sensitive infrastructure. Compromising one doesn’t just give an attacker a single server. It gives them the credential vault, the session recordings, and a direct tunnel into every system the appliance manages. BeyondTrust states that approximately 75% of the Fortune 100 use its products, and researchers at Hacktron AI identified roughly 11,000 internet-facing instances via Shodan and Fofa at the time of disclosure, of which approximately 8,500 are on-premises deployments that remain potentially vulnerable if not patched (SaaS instances were automatically remediated).
Technical Analysis
The Root Cause: Unsafe Bash Arithmetic Evaluation
The vulnerability lives in a shell script called thin-scc-wrapper that is reachable through the /nw WebSocket URI. This is the same endpoint that was exploited as a zero-day in December 2024 (CVE-2024-12356) in a high-profile nation-state attack, but through a different code path.
The root cause is a classic CWE-78 (OS Command Injection), but the injection mechanism is a particularly interesting one that many developers don’t think about: Bash arithmetic evaluation. In Bash, when you write something like $(( $user_input )) to do a numeric comparison, the shell doesn’t just treat the content as a number. Bash arithmetic contexts evaluate nested command substitutions, meaning if $user_input contains a[$(whoami)], the shell will actually execute whoami before attempting the arithmetic. This is by design in Bash, but it’s a dangerous footgun when user-controlled input reaches an arithmetic expression without sanitization.
In BeyondTrust’s case, the thin-scc-wrapper script takes a remoteVersion parameter from incoming WebSocket messages and feeds it into a Bash numeric comparison to determine protocol compatibility. Because the WebSocket endpoint does not require authentication and the script does not sanitize the version string, an attacker can inject arbitrary OS commands that execute in the context of the site user, which is the service account running the BeyondTrust appliance.
Vendors mentioned
Fill in the form on this page to read the full article.