Unauthenticated RCE in BeyondTrust PRA and RS
CVE-2024-12356 is a critical vulnerability affecting BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS), affecting versions up to and including 24.3.1. Public vendor and third-party reporting initially described the issue as an unauthenticated command injection that allows a remote attacker to send a malicious client request and execute commands as the site user. Subsequent Rapid7 analysis indicates the vulnerable RS exploitation path is more precisely characterized as argument injection in the thin-scc-wrapper code path reachable via the /nw WebSocket endpoint. In the analyzed path, attacker-controlled input is passed via an unquoted gskey variable into shell processing, enabling injection of echo arguments such as -e to emit raw bytes. That data is then processed by a dbquote helper and ultimately consumed by PostgreSQL psql. Rapid7 concluded that tested RCE exploitation paths for RS required chaining with PostgreSQL flaw CVE-2025-1094, because invalid UTF-8 byte sequences could survive escaping and be interpreted by psql in a way that enabled SQL injection and then OS command execution via psql meta-commands such as !. BeyondTrust nevertheless patched the product-side issue by adding input validation that blocks the malicious gskey values needed for exploitation.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A command injection vulnerability in BeyondTrust software that permits unauthenticated malicious command execution.
A previously exploited WebSocket input validation vulnerability (details not provided in the content) referenced as technically similar to CVE-2026-1731 and historically leveraged in intrusions attributed to Silk Typhoon/APT27/UNC5221/Emissary Panda.
An input validation vulnerability associated with third-party PostgreSQL usage in BeyondTrust context, referenced as previously exploited by China-nexus actors.
An earlier BeyondTrust WebSocket-related input validation flaw referenced as a predecessor/related weakness to CVE-2026-1731, reported as exploited by Silk Typhoon (APT27) in the 2024 U.S. Treasury breach.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.