Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Authenticated user (PR:L) sends a network request (AV:N) with no interaction; unsandboxed Jinja2 escapes to root OS execution, a scope change (S:C) yielding full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Articles & Coverage 2
AnalysisAI
Server-side template injection in Tugtainer (self-hosted Docker container auto-update tool) versions before 1.30.2 lets any authenticated user achieve root-level OS command execution by injecting Jinja2 expressions into notification templates. The title_template and body_template fields are rendered by an unsandboxed jinja2.Environment, so template payloads escape into arbitrary code running as root inside the container. Rated CVSS 9.9 with a scope change; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
Technical ContextAI
The flaw is CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), the SSTI-specific weakness class. Tugtainer's notification feature accepts user-controlled title_template and body_template strings and passes them to a raw jinja2.Environment rather than jinja2.sandbox.SandboxedEnvironment. Jinja2's object model exposes Python internals through attributes such as __class__, __mro__, __subclasses__, and __globals__, which an attacker chains to reach os.system or subprocess and run shell commands. Because Tugtainer runs with the Docker socket and root privileges typical of container-management tooling, that code executes as root inside the container. The affected package is identified by CPE cpe:2.3:a:quenary:tugtainer:*:*:*:*:*:*:*:*.
RemediationAI
Vendor-released patch: 1.30.2 - upgrade Tugtainer to 1.30.2 or later, which remediates the SSTI, and pull the corresponding container image and redeploy. If an immediate upgrade is not possible, restrict who can reach and authenticate to the Tugtainer instance (place it behind a VPN or trusted network segment and remove any public exposure), and limit accounts to trusted administrators only since any authenticated user can trigger the flaw; avoid granting notification-template editing to untrusted users. As defense in depth, run the container as a non-root user and drop unnecessary capabilities where the deployment allows, accepting that this may break Tugtainer's ability to manage other containers via the Docker socket. Consult the vendor advisory at https://github.com/Quenary/tugtainer/security/advisories/GHSA-g2cj-2x47-78vq for authoritative guidance.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48329