{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73248 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-73248 is a high-severity code injection vulnerability in kovidgoyal calibre, published on 11 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-73248 and fix it if it is affected.\n\nWhat it is: CVE-2026-73248 is a high-severity code injection vulnerability in kovidgoyal calibre, published on 11 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-73248 exists.\n\nAffected product: kovidgoyal calibre. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-73248/ (Markdown: https://insights.sbomify.com/CVE-2026-73248/index.md)","id":"CVE-2026-73248","markdown":"https://insights.sbomify.com/CVE-2026-73248/index.md","name":"CVE-2026-73248","record":{"aliases":["DEBIAN-CVE-2026-73248","GHSA-4f7g-rjfp-hmvx","UBUNTU-CVE-2026-73248"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"e-book manager","requires_auth":"none","summary":"An attacker can execute arbitrary Python code by tricking a user into opening a malicious e-book file with crafted metadata.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.5,"severity":"high","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","version":"4.0"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"calibre is an e-book manager. Prior to 9.12.0, calibre processes attacker-controlled composite_template metadata from a malicious EPUB, OPF, PDF, or similar file through program: and a nested template() call whose formatter does not inherit allow_python_templates=False, allowing a nested python: template to reach compile_python_template and execute arbitrary Python code when the file is opened or imported. This issue is fixed in version 9.12.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"calibre: Bypass of Python template restrictions via nested `template()` leading to RCE","id":"CVE-2026-73248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Missing authorization in calibre","id":"CVE-2026-73249"},"packages":[],"prev":{"headline":"Kestra: SSRF via Pebble http() function allows unauthenticated access to internal services \u0026 cloud metadata","id":"CVE-2026-73247"},"products":["calibre"],"published":"2026-08-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-12","vendors":["kovidgoyal"]},"summary":"An attacker can execute arbitrary Python code by tricking a user into opening a malicious e-book file with crafted metadata.","url":"https://insights.sbomify.com/CVE-2026-73248/"}