Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with base.docapi.template.add permission
-
DeliveryStore Jinja2 cycler gadget in template_data via POST /rest/docapi/template
-
ExploitTrigger GET /rest/docapi/template/<id>/render/<object_id>
-
ExecutionNon-sandboxed Jinja2 executes OS commands as root
-
ImpactFull container/host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account holding the specific base.docapi.template.add permission. The attacker stores an arbitrary Jinja2 payload in the template_data field through POST /rest/docapi/template; code execution occurs when the document-API template is rendered via GET /rest/docapi/template/<id>/render/<object_id> in a non-sandboxed Jinja2 environment. Impact is maximized in default Docker deployments, where the DataGerry web process runs as root, so RCE equals root-level control of the container. Limiting factors: the attack is authenticated (not anonymous) and gated on possession of the docapi template-add permission, which bounds the realistic attacker population to insiders or compromised low-trust accounts. |
| Impact | This is a genuine, actionable vulnerability but not a drop-everything emergency on the current signals. The CVSS 4.0 base score of 8.7 (High) is driven by network attack vector (AV:N), low complexity (AC:L), no user interaction (UI:N), and full high impact to confidentiality, integrity and availability (VC:H/VI:H/VA:H) - reflecting that successful exploitation yields remote code execution. The one meaningful brake is PR:L: the attacker must already hold an authenticated account carrying the specific base.docapi.template.add permission, so this is a privilege-escalation-to-RCE path for an insider or a compromised/low-trust user, not an anonymous internet attack. No EPSS score and no CISA KEV listing were provided, and there is no confirmed active exploitation; the vuln.today decision label is 'this_week' (not act_now/emergency), so the appropriate posture is prompt patching within the normal urgent cycle rather than crisis response. The real-world severity is amplified by deployment context: the description states the web process runs as root in default Docker deployments, so RCE equals root-level control of the container. The SSVC-style technical impact is total, but automatability is limited by the authentication/permission prerequisite. Net: treat as a high-priority patch, weighted by how many semi-trusted users in your environment can obtain the docapi template-add permission. |
| Exploit ScenarioDerived | An authenticated DataGerry user who holds the base.docapi.template.add permission submits a document-API template whose template_data field contains a malicious Jinja2 payload using the cycler.__init__.__globals__.os gadget chain. Because the template is later rendered in a non-sandboxed Jinja2 environment, when the render endpoint processes it the payload executes operating-system commands as the web-process user - root in default Docker deployments - giving the attacker remote code execution and full container compromise. No public exploit identified at time of analysis, though the CVE description explicitly names the exact gadget chain used. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Authenticated server-side template injection in DataGerry before 3.3.0 allows an account holding the base.docapi.template.add permission to store Jinja2 payloads in template_data and trigger OS command execution when the template is rendered, with the web process running as root in default Docker deployments. The flaw is permission-gated and requires a valid account rather than anonymous access, so the realistic exposure is insiders or compromised low-trust accounts; no public exploit was identified at time of analysis. DataGerry 3.3.0 is the fixed release.
RemediationAI
Upgrade DataGerry to 3.3.0 or later, the vendor-released fixed version identified by the changelog and GitHub release tag. Interim exposure reduction is to restrict base.docapi.template.add to trusted administrators and review stored document-API templates for untrusted Jinja2 content, accepting that this limits the required permission but does not fix the non-sandboxed rendering path. In Docker deployments, running the DataGerry web process as a non-root user reduces the impact of successful command execution, at the cost of container permission changes; it is a compensating control, not a substitute for upgrading. Advisories: https://docs.datagerry.com/en/latest/reference/changelog.html, https://github.com/DataGerry/DataGerry/releases/tag/3.3.0, https://www.vulncheck.com/advisories/datagerry-ssti-via-docapi-template-rendering.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DataGerry's document API exposes template creation at POST /rest/docapi/template and rendering at GET /rest/docapi/template/<id>/render/<object_id>. A user with base.docapi.template.add can place arbitrary Jinja2 syntax in the template_data field; because rendering occurs in a non-sandboxed Jinja2 environment, the stored template can traverse Python object internals via the cycler.__init__.__globals__.os gadget chain and invoke operating system commands as the DataGerry web process user. In default Docker deployments that process is root, so successful exploitation gives root-level control of the container. The supplied record assigns CWE-79, but the described mechanism is server-side template injection leading to code execution, so that CWE mapping does not match the SSTI/RCE behavior. The CVSS vector includes PR:L, confirming the authenticated prerequisite.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable REST API with low complexity; PR:L reflects the required base.docapi.template.add permission; UI:N as the holder can trigger rendering; RCE yields full C/I/A impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
DataGerry before 3.3.0 contains a server-side template injection vulnerability that allows authenticated attackers with base.docapi.template.add permission to store arbitrary Jinja2 payloads in the template_data field via POST /rest/docapi/template, which is later rendered in a non-sandboxed Jinja2 environment when a user calls GET /rest/docapi/template/<id>/render/<object_id>. Attackers can exploit the standard cycler.__init__.__globals__.os gadget chain to execute arbitrary operating system commands as the DataGerry web process user, confirmed as root in default Docker deployments, achieving remote code execution.
Articles & Coverage 1
Executive ViewAI
A high-severity vulnerability in DataGerry (before version 3.3.0) allows authenticated users with template permissions to execute arbitrary commands on the server, potentially leading to full system compromise because the web process runs as root in default Docker deployments. This poses a significant risk to organizations using DataGerry, as insiders or compromised low-trust accounts could exploit it to gain unauthorized control, impacting data confidentiality, integrity, and availability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
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
EUVD-2026-117011
GHSA-j937-qw2q-vm46
NVD
CVE.org
EPSS
Exploit-DB