CVE-2025-5309 Remote Support & Privileged Remote Access server side template injection

High 8.6 Published Updated

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.

Sources

Also known as GHSA-gqmv-wgq3-w6p3.

Is CVE-2025-5309 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free