{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2025-5309 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-5309 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-5309 is a high-severity code injection vulnerability in BeyondTrust Remote Support(RS) \u0026 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."},"fix_prompt":"Check this codebase for CVE-2025-5309 and fix it if it is affected.\n\nWhat it is: CVE-2025-5309 is a high-severity code injection vulnerability in BeyondTrust Remote Support(RS) \u0026 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.\nExploitation: There is no known exploitation of CVE-2025-5309 in the wild and no public exploit code.\n\nAffected product: BeyondTrust Remote Support(RS) \u0026 Privileged Remote Access(PRA). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-5309/ (Markdown: https://insights.sbomify.com/CVE-2025-5309/index.md)","id":"CVE-2025-5309","markdown":"https://insights.sbomify.com/CVE-2025-5309/index.md","name":"CVE-2025-5309","record":{"aliases":["GHSA-gqmv-wgq3-w6p3"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Remote Support \u0026 PRA","requires_auth":"none","summary":"Attacker can achieve remote code execution via server-side template injection in the chat feature of BeyondTrust Remote Support and Privileged Remote Access.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"BT","cpe":[{"product":"privileged_remote_access","vendor":"beyondtrust"},{"product":"remote_support","vendor":"beyondtrust"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Remote Support \u0026 Privileged Remote Access server side template injection","id":"CVE-2025-5309","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Dover Fueling Solutions ProGauge MagLink LX Consoles Missing Authentication for Critical Function","id":"CVE-2025-5310"},"packages":[],"prev":{"headline":"Santesoft Sante DICOM Viewer Pro Out-of-bounds Read","id":"CVE-2025-5307"},"products":["Remote Support(RS) \u0026 Privileged Remote Access(PRA)","Remote support \u0026 Privileged Remote Access"],"published":"2025-06-16","related":[{"cvss_score":9.9,"headline":"BeyondTrust Remote Support (RS) and Privileged Remote Access (PRA) OS Command Injection","id":"CVE-2026-1731","kev_date_added":"2026-02-13","published":"2026-02-06"},{"cvss_score":9.8,"headline":"BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) Command Injection Vulnerability","id":"CVE-2024-12356","kev_date_added":"2024-12-19","published":"2024-12-17"},{"cvss_score":6.6,"headline":"BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) OS Command Injection","id":"CVE-2024-12686","kev_date_added":"2025-01-13","published":"2024-12-18"},{"cvss_score":9.8,"headline":"Command injection in Privileged Remote Access (PRA)","id":"CVE-2023-4310","kev_date_added":null,"published":"2023-09-05"},{"cvss_score":9.2,"headline":"Critical Pre-Authentication Vulnerability in BeyondTrust Remote Support and Privileged Remote Access","id":"CVE-2026-40138","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":9.2,"headline":"Critical Pre-Authentication Vulnerability in BeyondTrust Remote Support and Privileged Remote Access","id":"CVE-2026-40139","kev_date_added":null,"published":"2026-07-06"},{"cvss_score":8.7,"headline":"High-Severity Pre-Authentication Vulnerability in BeyondTrust Remote Support and Privileged Remote Access","id":"CVE-2026-40140","kev_date_added":null,"published":"2026-07-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["BeyondTrust"]},"summary":"Attacker can achieve remote code execution via server-side template injection in the chat feature of BeyondTrust Remote Support and Privileged Remote Access.","url":"https://insights.sbomify.com/CVE-2025-5309/"}