CVE-2026-47752
Deferred Deferred - Pending Action

Server-Side Template Injection in Tugtainer

Vulnerability report for CVE-2026-47752, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-23

Last updated on: 2026-07-23

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-23
Last Modified
2026-07-23
Generated
2026-07-23
AI Q&A
2026-07-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
quenary tugtainer to 1.30.2 (exc)
quenary tugtainer to 1.28.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1336 The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-47752 is a critical Server-Side Template Injection (SSTI) vulnerability in Tugtainer versions prior to 1.30.2. It allows authenticated users to inject malicious template code into the title_template and body_template fields, which are rendered using an unsandboxed Jinja2 environment. This can lead to Remote Code Execution (RCE) as root inside the container.

Detection Guidance

Check if Tugtainer is installed and verify the version. Run: docker ps | grep tugtainer. If version is <= 1.28.3, it is vulnerable. Test for SSTI by sending a crafted HTTP request to /api/settings/test_notification with malicious template payloads.

Impact Analysis

Exploitation grants root-level access to the container, enabling arbitrary file reads, full interactive reverse shells, and access to sensitive data like Docker socket secrets. It requires only a valid login session and can be triggered via a simple HTTP request.

Compliance Impact

This vulnerability allows authenticated users to execute arbitrary OS commands as root inside the container, potentially leading to unauthorized access to sensitive data. This could violate GDPR's data protection requirements and HIPAA's security rules by exposing personal or health information.

Mitigation Strategies

Upgrade Tugtainer to version 1.30.2 or later immediately. If upgrading is not possible, disable the notification template feature or restrict access to authenticated users. Monitor for suspicious activity in container logs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-47752. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart