{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2026-11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "e986803980db8b29435a2ddba5d9760737a818e3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2026-11",
                "range": [
                  {
                    "fixed": "88fbaa459a5cd5843c2c7cb06ee2928e2a78b9e6"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "88fbaa459a5cd5843c2c7cb06ee2928e2a78b9e6"
            },
            {
              "fixed": "e986803980db8b29435a2ddba5d9760737a818e3"
            }
          ],
          "repo": "https://github.com/mailcow/mailcow-dockerized",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jgr3-fv33-x43c"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1336"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125757.json"
  },
  "details": "mailcow: dockerized before 2026-11 contains a server-side template injection vulnerability that allows domain administrators to execute commands in the shared rspamd container by storing a malicious domain-wide footer. Attackers can embed a Jinja macro with an os.execute default value, rendered by the rspamd MOO_FOOTER prefilter, to read or inject mail for every tenant and disable filtering.",
  "id": "CVE-2026-125757",
  "modified": "2026-11-11T10:30:38.427541748Z",
  "published": "2026-11-10T15:22:51.515Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125757.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mailcow/mailcow-dockerized"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mailcow/mailcow-dockerized/blob/55982ac74bfd35581cc44b122ab5fc659e3ae90a/data/conf/rspamd/lua/rspamd.local.lua#L847-L850"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125757"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mailcow-dockerized-before-2026-11-template-injection-rce-via-domain-wide-footer"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer"
}