CVE-2025-5309 Remote Support & Privileged Remote Access server side template injection
Attacker can achieve remote code execution via server-side template injection in the chat feature of BeyondTrust Remote Support and Privileged Remote Access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-5309?
CVE-2025-5309 is a high-severity code injection vulnerability in BeyondTrust Remote Support(RS) & Privileged Remote Access(PRA), published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The chat feature within Remote Support (RS) and Privileged Remote Access (PRA) is vulnerable to a Server-Side Template Injection vulnerability which can lead to remote code execution.
Weakness: CWE-94
Which versions are affected by CVE-2025-5309?
It affects 2 products.
Products include Beyondtrust Privileged Remote Access, Beyondtrust Remote Support.
How do I fix CVE-2025-5309?
No fix has been published for CVE-2025-5309 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-5309 being exploited?
There is no known exploitation of CVE-2025-5309 in the wild and no public exploit code.
Other vulnerabilities in BeyondTrust Remote Support(RS) & Privileged Remote Access(PRA)
- CVE-2026-1731 BeyondTrust Remote Support (RS) and Privileged Remote Access (PRA) OS Command Injection
- CVE-2024-12356 BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) Command Injection Vulnerability
- CVE-2024-12686 BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) OS Command Injection
- CVE-2023-4310 Command injection in Privileged Remote Access (PRA)
- CVE-2026-40138 Critical Pre-Authentication Vulnerability in BeyondTrust Remote Support and Privileged Remote Access
Sources
Also known as GHSA-gqmv-wgq3-w6p3.