{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53511 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-53511 is a high-severity code injection vulnerability in kovidgoyal calibre, published on 7 Jul 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-53511 and fix it if it is affected.\n\nWhat it is: CVE-2026-53511 is a high-severity code injection vulnerability in kovidgoyal calibre, published on 7 Jul 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-53511 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-53511/ (Markdown: https://insights.sbomify.com/CVE-2026-53511/index.md)","id":"CVE-2026-53511","markdown":"https://insights.sbomify.com/CVE-2026-53511/index.md","name":"CVE-2026-53511","record":{"aliases":["DEBIAN-CVE-2026-53511","GHSA-2j4m-2q7x-2c47","UBUNTU-CVE-2026-53511","openSUSE-SU-2026:11130-1"],"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":"Attackers can execute arbitrary Python code by tricking users into opening malicious e-book files with crafted metadata in calibre.","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-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["openSUSE:Tumbleweed"],"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: Arbitrary Code Execution in Template Formatter via Book Metadata","id":"CVE-2026-53511","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":1,"n_references":3,"next":{"headline":"Better Auth: OAuth refresh-token replay via missing client authentication on oidc-provider and mcp plugins","id":"CVE-2026-53512"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["9.10.0-1.1"],"introduced":["0"],"last_affected":[],"package":"calibre","purl":"pkg:rpm/opensuse/calibre\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11130-1"}],"prev":{"headline":"Savon::Model evaluates WSDL operation names as Ruby source","id":"CVE-2026-53510"},"products":["calibre"],"published":"2026-07-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-18","vendors":["kovidgoyal"]},"summary":"Attackers can execute arbitrary Python code by tricking users into opening malicious e-book files with crafted metadata in calibre.","url":"https://insights.sbomify.com/CVE-2026-53511/"}