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.
Published: 2026-10-22
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote File Read via Path Traversal
Action: Patch Immediately
AI Analysis

Impact

The vulnerability in Kavita allows an unauthenticated attacker to read arbitrary files from the server by sending a specially crafted GET request to the /api/image/cover-upload endpoint. By supplying directory traversal sequences in the filename parameter, the application passes the file name straight to a file read operation, enabling access to configuration files such as appsettings.json located outside the designated temporary directory. This flaw qualifies as a path traversal (CWE-22) and results in a confidentiality impact by exposing sensitive information that can be leveraged for further compromise.

Affected Systems

The affected product is Kavita, developed by Kareadita. Versions prior to 0.5.4.1 of the application contain the flaw. It includes earlier releases such as 0.5.2 through 0.5.4.0. Users running any of these versions are at risk. The patch that resolves the issue is included in release 0.5.4.1 and later.

Risk and Exploitability

The CVSS score of 8.7 classifies the bug as high severity. The EPSS score is not publicly available, so the current exploit probability is unclear, but the lack of an authentication requirement means the attack vector is a simple HTTP request from any remote host. The vulnerability is not listed in the CISA KEV catalog, yet the ease of exploitation and the potential disclosure of configuration files suggest a high risk to affected systems. Reputational and operational impacts can follow if sensitive configuration data is exfiltrated.

Generated by OpenCVE AI on October 22, 2026 at 12:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest release of Kavita (at least 0.5.4.1) to eliminate the path traversal logic.
  • Restrict access to the /api/image/cover-upload endpoint so that only trusted users or internal network hosts can reach it.
  • Deploy an application firewall or web server rule to block filename parameters that contain directory traversal sequences (e.g., '..').

Generated by OpenCVE AI on October 22, 2026 at 12:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
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.
Title Kavita < 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T10:57:34.599Z

Reserved: 2026-10-14T20:25:29.946Z

Link: CVE-2022-51024

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T11:17:05.447

Modified: 2026-10-22T11:17:05.447

Link: CVE-2022-51024

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T12:45:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')