CVE-2022-51024 Details
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.
A path traversal vulnerability has been identified in Kavita versions 0.5.2 prior to 0.5.4.1. This vulnerability allows unauthenticated attackers to read arbitrary files by exploiting the filename parameter of the /api/image/cover-upload endpoint. Attackers can send GET requests with '../' sequences in the filename to access files outside the temporary directory, such as configuration files. The vulnerability arises from improper sanitization of the filename parameter, enabling path traversal attacks.
Users are advised to update Kavita to version 0.5.4.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18 | CISA-ADP | ExploitTechnical Description |
| https://github.com/Kareadita/Kavita/commit/88b5ebeb6 | [email protected] | Source CodeVendor |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml | [email protected] | ExploitTechnical Description |
| https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18 | [email protected] | ExploitTechnical Description |
| https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kavita | >= 0.5.2, < 0.5.4.1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion