---
id: CVE-2022-51024
title: Kavita < 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-22
vendor: Kareadita
product: Kavita
affected:
  - Kavita >= 0.5.2 < 0.5.4.1
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T10:57:34.599Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-51024'
references:
  - url: 'https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18'
    label: huntr Report
  - url: 'https://github.com/Kareadita/Kavita/commit/88b5ebeb6'
    label: Fix Commit
  - url: >-
      https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml
    label: Nuclei Template
  - url: >-
      https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint
    label: >-
      VulnCheck Advisory: Kavita < 0.5.4.1 Unauthenticated Path Traversal via
      cover-upload Endpoint
tags:
  - cve.org
ingestedAt: '2026-10-22T11:37:02.340Z'
---

## Overview

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

- `Kavita >= 0.5.2 < 0.5.4.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
