CVE-2026-57853

DataGerry < 3.3.0 SSTI via DocAPI Template Rendering

Published Nov 4, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

DataGerry before version 3.3.0 is vulnerable to a server‑side template injection that lets authenticated users who hold the base.docapi.template.add permission create and store arbitrary Jinja2 payloads in the template_data field. When a front‑end application calls the rendering endpoint, that payload is executed in an unsandboxed Jinja2 environment, enabling the attacker to run arbitrary operating‑system commands. The exploit follows the standard cycler.__init__.__globals__.os gadget chain and, in the default Docker setup where the web process runs as root, it yields full system control. The primary consequence is immediate remote code execution on the host that runs DataGerry.

Affected Systems

DataGerry software versions prior to 3.3.0 are impacted. The vulnerability is present in all releases of the DataGerry product by the same vendor, regardless of deployment context, as long as the vulnerable DocAPI template mechanism is enabled and the user has the aforementioned permission.

Risk and Exploitability

The CVSS score of 8.7 indicates medium‑to‑high severity. The EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog; however, the requirement of authenticated access with a specific permission does not reduce the potential impact. Attackers can reliably execute code once they possess the necessary credential, leveraging the documented gadget chain to escape the web process into the operating system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DataGerry to version 3.3.0 or later, which removes the unsandboxed template rendering capability.
  • If an upgrade is not immediately possible, revoke the base.docapi.template.add permission from all users to eliminate the ability to create malicious templates.
  • Reconfigure the application to use a sandboxed Jinja2 environment or disable the DocAPI template rendering feature entirely.

Generated by OpenCVE AI on November 4, 2026 at 20:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title DataGerry < 3.3.0 SSTI via DocAPI Template Rendering
Weaknesses CWE-1336
CWE-79
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Subscriptions

No data.

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:06 PM
Reserved
Jun 25, 2026, 6:48 PM
Status
Deferred
Published
Nov 4, 2026, 6:17 PM
Modified
Nov 12, 2026, 9:36 PM