Exploit database

Vulnerability

CVE-2025-69516

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

A Server-Side Template Injection (SSTI) vulnerability in the /reporting/templates/preview/ endpoint of Amidaware Tactical RMM, affecting versions equal to or earlier than v1.3.1, allows low-privileged users with Report Viewer or Report Manager permissions to achieve remote command execution on the server. This occurs due to improper sanitization of the template_md parameter, enabling direct injection of Jinja2 templates. This occurs due to misuse of the generate_html() function, the user-controlled value is inserted into `env.from_string`, a function that processes Jinja2 templates arbitrarily, making an SSTI possible.

CVE Program

Exploit source choices

1 source
Tactical RMM Jinja2 SSTI Remote Code Execution
MSF-linux--http--tacticalrmm_ssti_rce_cve_2025_69516MetasploitLinux,Python,Unix / remotePreferred

This module exploits a Server-Side Template Injection (SSTI) vulnerability in Tactical RMM versions prior to 1.4.0 (CVE-2025-69516). The reporting template preview endpoint passes user-controlled Jinja2 template content to Environment.from_string() without sandboxing, allowing arbitrary Python code execution on the server. Valid credentials are required. The module authenticates to obtain a Knox API token, then delivers a Jinja2 SSTI payload through the template preview functionality to achieve OS command execution. The vulnerability was silently patched in version 1.4.0 by switching from jinja2.Environment to jinja2.sandbox.SandboxedEnvironment.

2026-01-29tacticalrmm_ssti_rce_cve_2025_69516.rb