What’s Vulnerable › Vulnerabilities
CVE-2022-51024: Kavita < 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-22 · updated 2026-10-29
- Weakness: CWE-22
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.
Affected products
- Kareadita Kavita: from 0.5.2 before 0.5.4.1 — fixed in 0.5.4.1
How to fix
Upgrade to a fixed version: Kareadita Kavita 0.5.4.1. Check the vendor advisory for mitigations.
References
- https://github.com/Kareadita/Kavita/commit/88b5ebeb6
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml
- https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18
- https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint
- https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18
Get alerted when CVE-2022-51024 or the next vulnerability affects your stack