{
  "id": "CVE-2026-25731",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25731",
  "published_at": "2026-02-06T20:14:35.822Z",
  "title": "Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export",
  "vendor": "kovidgoyal",
  "product": "calibre",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "calibre is an e-book manager. Prior to 9.2.0, a Server-Side Template Injection (SSTI) vulnerability in Calibre's Templite templating engine allows arbitrary code execution when a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options. This vulnerability is fixed in 9.2.0.",
  "cwe": "CWE-1336",
  "cpes": [
    "cpe:2.3:a:calibre-ebook:calibre:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [
    {
      "repo": "dxlerYT/CVE-2026-25731",
      "url": "https://github.com/dxlerYT/CVE-2026-25731",
      "created_at": "2026-02-06T11:14:08Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 4,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 85,
      "suspicious": true,
      "suspicion_reasons": [
        "pipes a download into a shell / encoded PowerShell in readme.md",
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-10-25T05:46:05Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "kovidgoyal",
        "product": "calibre",
        "ranges": [
          "\u003c 9.2.0"
        ],
        "fixed_in": [
          "9.2.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade calibre to 9.2.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/kovidgoyal/calibre/security/advisories/GHSA-xrh9-w7qx-3gcc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/kovidgoyal/calibre/commit/f0649b27512e987b95fcab2e1e0a3bcdafc23379"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
