{"id":"CVE-2022-51024","summary":"Kavita \u003c 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint","details":"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.","modified":"2026-10-23T02:45:06.052303447Z","published":"2026-10-22T10:57:34.599Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51024.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51024.json"},{"type":"PACKAGE","url":"https://github.com/Kareadita/Kavita"},{"type":"FIX","url":"https://github.com/Kareadita/Kavita/commit/88b5ebeb6"},{"type":"ARTICLE","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml"},{"type":"ARTICLE","url":"https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51024"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kareadita/kavita","events":[{"introduced":"a00e8f121f6e42c3c401aa010171e9546e5dc672"},{"fixed":"9c31f7e7c81b919923cb2e3857439ec0d16243e4"},{"fixed":"88b5ebeb6"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.5.2"},{"fixed":"0.5.4.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"88b5ebeb6"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51024.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}