CVE-2026-57853: DataGerry < 3.3.0 SSTI via DocAPI Template Rendering

Published Nov 4, 2026
·
Updated

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 templatedata 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/<objectid>. 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.

Event History

Nov 4, 2026
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

An authenticated user needs the base.docapi.template.add permission to create a malicious template. Exploitation also requires a later request to render that template for an object.

2

Are default Docker deployments at particular risk?

Yes. The vulnerable template is rendered by the DataGerry web process, which was confirmed to run as root in default Docker deployments. Successful exploitation in that configuration can execute operating system commands as root.

3

What should be done if an upgrade is not immediately possible?

Restrict base.docapi.template.add to trusted administrators and prevent untrusted users from creating or modifying document API templates. Review stored template_data values for Jinja2 payloads, especially use of cycler.__init__.__globals__.os.

4

How can I identify possible prior exploitation or malicious templates?

Inspect templates created through POST /rest/docapi/template and review template_data for suspicious Jinja2 expressions, particularly the cycler.__init__.__globals__.os gadget chain. Review requests to GET /rest/docapi/template/<id>/render/<object_id> associated with suspicious template IDs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203