CVE-2022-51024 Kavita < 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint

High 8.7 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2022-51024?

CVE-2022-51024 is a high-severity vulnerability in Kareadita Kavita, published on 22 Oct 2026.

Official description

Kavita 0.5.2 before 0.5.4.1 contains a path traversal vulnerability that allows unauthenticated attackers to read arbitrary files by supplying '../' sequences in the filename parameter. Attackers can send GET requests to /api/image/cover-upload with filename values like ../appsettings.json to retrieve configuration files outside the temp directory. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.

Weakness: CWE-22

Which versions are affected by CVE-2022-51024?

How do I fix CVE-2022-51024?

No fix has been published for CVE-2022-51024 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-51024 being exploited?

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

Sources

Also known as GHSA-558q-5f3p-2qrg.

Is CVE-2022-51024 in your software?

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

Check your SBOMs for free