CVE-2024-6781 Calibre Arbitrary File Read

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary files via path traversal in Calibre, exposing sensitive local data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-6781?

CVE-2024-6781 is a high-severity path traversal vulnerability in Calibre, published on 6 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Path traversal in Calibre <= 7.14.0 allow unauthenticated attackers to achieve arbitrary file read.

Weakness: CWE-22

Which versions are affected by CVE-2024-6781?

It affects 1 product.

Products include Calibre-Ebook Calibre.

How do I fix CVE-2024-6781?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-6781 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6781 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as DEBIAN-CVE-2024-6781, GHSA-p89v-3g23-m6q2, UBUNTU-CVE-2024-6781.

Is CVE-2024-6781 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free