{
  "id": "CVE-2026-53511",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53511",
  "published_at": "2026-07-07T20:46:49.199Z",
  "title": "calibre: Arbitrary Code Execution in Template Formatter via Book Metadata",
  "vendor": "kovidgoyal",
  "product": "calibre",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "calibre is an e-book manager. Prior to 9.10.0, a malicious EPUB, OPF, or PDF file can execute arbitrary Python code when its metadata is read by calibre, including through Add books or Edit books, by embedding a custom column definition with a python: template in calibre:user_metadata that is passed unsanitized to exec() in the template formatter. This issue is fixed in version 9.10.0.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "kovidgoyal",
        "product": "calibre",
        "ranges": [
          "\u003c 9.10.0"
        ],
        "fixed_in": [
          "9.10.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade calibre to 9.10.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/kovidgoyal/calibre/security/advisories/GHSA-2j4m-2q7x-2c47"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/kovidgoyal/calibre/commit/712f4e1ff5c1e798c335bef3bacc4efdee052e9c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/kovidgoyal/calibre/releases/tag/v9.10.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
