{
  "id": "CVE-2026-125757",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-125757",
  "published_at": "2026-11-10T15:22:51.515Z",
  "title": "mailcow: dockerized before 2026-11 Template Injection RCE via Domain-Wide Footer",
  "vendor": "mailcow",
  "product": "mailcow: dockerized",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-10T16:38:30Z",
    "first_seen_at": "2026-11-14T11:20:02.754Z",
    "days_after_publication": 0.1,
    "repo": "Faceless0x7/CVE-2026-125757",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-1336",
  "cvss_by_source": {
    "cna": 9.4
  },
  "repos": [
    {
      "repo": "Faceless0x7/CVE-2026-125757",
      "url": "https://github.com/Faceless0x7/CVE-2026-125757",
      "created_at": "2026-11-10T16:38:30Z",
      "first_seen_at": "2026-11-14T11:20:02.754Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-07-19T08:56:19Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "mailcow",
        "product": "mailcow: dockerized",
        "ranges": [
          "\u003c 2026-11"
        ],
        "fixed_in": [
          "2026-11"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mailcow: dockerized to 2026-11 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-jgr3-fv33-x43c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mailcow/mailcow-dockerized/commit/e986803980db8b29435a2ddba5d9760737a818e3"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mailcow/mailcow-dockerized/releases/tag/2026-11"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/domainadmin/",
      "ports": [
        8000
      ],
      "protocol": "http",
      "repos": [
        "Faceless0x7/CVE-2026-125757"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Faceless0x7/CVE-2026-125757/CVE-2026-125757.py:82"
      ]
    },
    {
      "method": "POST",
      "path_template": "/domainadmin/",
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        8000
      ],
      "protocol": "http",
      "repos": [
        "Faceless0x7/CVE-2026-125757"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "Faceless0x7/CVE-2026-125757/CVE-2026-125757.py:83"
      ]
    }
  ],
  "rules": []
}
