Path traversal in Kavita lets unauthenticated attackers read files
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
Kavita from 0.5.2 before 0.5.4.1 contains a path traversal flaw (CWE-22) that lets user-supplied file names escape the intended directory. An unauthenticated remote attacker can read arbitrary files on the server. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Kavita 0.5.4.1 fixes this flaw, so update Kavita to version 0.5.4.1 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA Kavita (Kareadita) Fixed in 0.5.4.1
Timeline
- 2026-10-22 Threatist record created from CVE-2022-51024
- 2026-10-22 Alias added: GHSA-558q-5f3p-2qrg
- 2026-10-23 Priority changed: MEDIUM → LOW
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: LOW → HIGH
References
Patch 1
Other 2
More Kareadita vulnerabilities
- TI-2022-03662 Improper Restriction of Excessive Authentication Attempts in kareadita/kavita CVSS 3.1CRITICAL 9.8
- TI-2026-32661 Kavita: IDOR in /api/Download/* CVSS 4.0MEDIUM 5.9
- TI-2022-03617 Improper Restriction of Excessive Authentication Attempts in kareadita/kavita CVSS 3.1MEDIUM 5.3
- TI-2026-34790 Kavita: Pre-Auth Account Takeover CVSS 4.0CRITICAL 9.3
- TI-2026-32660 Kavita: No authentication at /api/Reader/image CVSS 4.0MEDIUM 6.9
- TI-2023-00871 Missing Authentication for Critical Function in kareadita/kavita CVSS 3.1HIGH 8.1
Sources
- CVE-2022-51024 · CVE Program
- CVE-2022-51024 · NVD
- FIRST EPSS
- GHSA-558q-5f3p-2qrg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences