CVE-2026-47752

Tugtainer has Server-Side Template Injection in notification templates that leads to Remote Code Execution

Published Jul 23, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Tugtainer is a self-hosted app for automating updates of Docker containers. Versions prior to 1.30.2 are vulnerable to Server-Side Template Injection (SSTI) in the notification template feature. The `title_template` and `body_template` fields are rendered using an unsandboxed `jinja2.Environment`, allowing any authenticated user to execute arbitrary OS commands as root inside the container. Version 1.30.2 fixes the issue.

Analysis

AI-generated

Technical impact

Tugtainer, a self‑hosted tool for automating Docker container updates, contains a Server‑Side Template Injection flaw in its notification template feature. The title_template and body_template fields are rendered with an unsandboxed jinja2.Environment, which allows any authenticated user to inject Jinja2 expressions that are executed as root inside the container. Versions prior to 1.30.2 are vulnerable, and the issue is fixed in release 1.30.2. Because the application runs with root privileges within the container, such injections give full control of that environment, and the vulnerability is classified as CWE‑1336. Based on the description, it is inferred that an authenticated user must access the notification template interface to inject malicious code.

Affected Systems

This issue affects all Quenary tugtainer installations running any version earlier than 1.30.2. The vendor advisory lists version 1.30.2 as the first release that incorporates the fix.

Risk and Exploitability

The CVSS score of 9.9 signifies an extremely high severity and the EPSS score of less than 1% suggests that the probability of exploitation in the wild is currently low, although the impact is catastrophic. The flaw is not in the CISA KEV catalog, which implies no confirmed exploits have been reported yet. Based on the description, the attacker must first authenticate to the application and then create or modify a notification template with malicious Jinja2 code. Once executed, the attacker gains root control within the container, providing severe impact to all data and operations within that container.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to tugtainer version 1.30.2 or newer to apply the official fix.
  • Temporarily disable or remove the notification template feature until the upgrade is completed.
  • Apply additional container hardening and network segmentation to limit the reach of potential code execution within the host.

Generated by OpenCVE AI on August 3, 2026 at 21:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Quenary
Quenary tugtainer
Vendors & Products Quenary
Quenary tugtainer
Type Values Removed Values Added
Description Tugtainer is a self-hosted app for automating updates of Docker containers. Versions prior to 1.30.2 are vulnerable to Server-Side Template Injection (SSTI) in the notification template feature. The `title_template` and `body_template` fields are rendered using an unsandboxed `jinja2.Environment`, allowing any authenticated user to execute arbitrary OS commands as root inside the container. Version 1.30.2 fixes the issue.
Title Tugtainer has Server-Side Template Injection in notification templates that leads to Remote Code Execution
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 23, 2026, 5:43 PM
Reserved
May 19, 2026, 10:16 PM
Status
Deferred
Published
Jul 23, 2026, 6:16 PM
Modified
Oct 24, 2026, 1:10 PM