{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"DataGerry/DataGerry","product":"DataGerry","source":"CNA: VulnCheck","vendor":"DataGerry","versions":[{"lessThan":"3.3.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-57853","cwes":["CWE-1336","CWE-79"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":8.7,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":8.8,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793814941738,"publishedAt":1793814941738,"references":[{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/DataGerry/DataGerry/releases/tag/3.3.0"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://docs.datagerry.com/en/latest/reference/changelog.html"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/datagerry-ssti-via-docapi-template-rendering"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/DataGerry/DataGerry/releases/tag/3.3.0"}],"revision":"1fb7f742ce5f0f0c5d06dafa718459adce6563289a5da14954109362e267c43d","sources":[{"modifiedAt":1793814941738,"name":"CNA: VulnCheck","retrievedAt":1793815892645,"url":"https://www.cve.org/CVERecord?id=CVE-2026-57853"}],"ssvc":null,"status":"published","title":"DataGerry < 3.3.0 SSTI via DocAPI Template Rendering","updatedAt":1793815892645}