{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "3.3.0",
                "range": [
                  {
                    "fixed": "4628efeab9f4c5e41db38e0f6bc126d3ed516c04"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.3.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4628efeab9f4c5e41db38e0f6bc126d3ed516c04"
            }
          ],
          "repo": "https://github.com/datagerry/datagerry",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1336",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57853.json"
  },
  "details": "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/\u003cid\u003e/render/\u003cobject_id\u003e. 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.",
  "id": "CVE-2026-57853",
  "modified": "2026-11-14T02:30:36.218381923Z",
  "published": "2026-11-04T17:55:41.738Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://docs.datagerry.com/en/latest/reference/changelog.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57853.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57853"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/datagerry-ssti-via-docapi-template-rendering"
    },
    {
      "type": "FIX",
      "url": "https://github.com/DataGerry/DataGerry/releases/tag/3.3.0"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/DataGerry/DataGerry"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DataGerry \u003c 3.3.0 SSTI via DocAPI Template Rendering"
}