← Back to search

CVE-2026-57853

8.8 HIGHpublic exploit available

Published 2026-11-04 · Updated 2026-11-05

AI risk analysis

Summary
DataGerry before 3.3.0 has a server-side template injection (SSTI) flaw in its DocAPI module where authenticated users with base.docapi.template.add permission can inject unsanitized Jinja2 templates into the template_data field; when these templates are later rendered, they execute in a non-sandboxed environment, enabling remote code execution via gadget chains like cycler.__init__.__globals__.os.
Exploitability
Exploitation requires valid credentials and the base.docapi.template.add permission, making it accessible to low-privileged authenticated attackers but not anonymous ones.
Blast radius
In default Docker deployments, exploitation leads to full system compromise as root, enabling complete data exfiltration, tampering, and persistence.
Detection
Log entries showing POST /rest/docapi/template requests with template_data containing Jinja2 expressions (e.g., {{ ... }} or {% ... %}) combined with subsequent GET /rest/docapi/template/<id>/render/<object_id> calls may indicate exploitation attempts; however, no specific observable artefact is guaranteed to distinguish malicious payloads from legitimate template usage.
Prioritized remediation
Upgrade to DataGerry version 3.3.0 or later, which patches the SSTI vulnerability by sandboxing Jinja2 rendering and removing dangerous gadget chains.
sstircetemplate-injectionweb-appdockerprivilege-escalation

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-79, CWE-1336

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.