Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47752
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:43 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 23 Jul 2026, 16:57 UTC

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.

osv:CVE-2026-47752
Complete source record
{
  "id": "616f2f574fb788ac8a5a6e1b3e1fcf6755f26199b0d21d5688b2c24ca6ebbf28",
  "url": "https://osv.dev/vulnerability/CVE-2026-47752",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Tugtainer has Server-Side Template Injection in notification templates that leads to Remote Code Execution",
    "summary": "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.",
    "evidence": "osv:CVE-2026-47752",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-47752",
      "aliases": [
        "CVE-2026-47752",
        "GHSA-g2cj-2x47-78vq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/quenary/tugtainer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "eaecc5566625b1f502b1851552382c3f71a1068a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.30.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.30.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.30.1",
            "v1.30.0",
            "v1.29.1",
            "v1.29.0",
            "v1.28.3",
            "v1.28.2",
            "v1.28.1",
            "v1.28.0",
            "v1.27.0",
            "v1.26.0",
            "v1.25.1",
            "v1.25.0",
            "v1.24.1",
            "v1.24.0",
            "v1.23.1",
            "v1.23.0",
            "v1.22.0",
            "v1.21.1",
            "v1.21.0",
            "v1.20.0",
            "v1.19.0",
            "v1.18.0",
            "v1.17.5",
            "v1.17.4",
            "v1.17.3",
            "v1.17.2",
            "v1.17.1",
            "v1.17.0",
            "v1.16.1",
            "v1.16.0",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.14.4",
            "v1.14.3",
            "v1.14.2",
            "v1.14.1",
            "v1.14.0",
            "v1.13.1",
            "v1.13.0",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0",
            "v1.11.0",
            "v1.10.0",
            "v1.9.0",
            "v1.8.0",
            "v1.7.1",
            "v1.7.0",
            "v1.6.0",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.6",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47752.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.708256300Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47752.json",
        "https://github.com/Quenary/tugtainer/security/advisories/GHSA-g2cj-2x47-78vq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47752"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1336"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47752.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47752",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492532,
  "published_at": "2026-07-23T16:57:54.967+00:00"
}