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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-10-22T10:57:34.599Z
- Modified: 2026-11-10T12:10:00.177Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Kareadita Kavita: from 0.5.2 before 0.5.4.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18> (exploit, technical-description)
- <https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml> (exploit, technical-description)
- <https://github.com/Kareadita/Kavita/commit/88b5ebeb6> (patch)
- <https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-51024](https://www.cve.org/CVERecord?id=CVE-2022-51024), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2022-51024](https://nvd.nist.gov/vuln/detail/CVE-2022-51024), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-51024 · Whole record: https://cve.day/CVE-2022-51024.json · Rebuilt by cve.day 2026-11-25T22:58:21.458Z
