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

Published Oct 22, 2026
·
Updated

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 Software

1 affected component
Kavita Kavita>=0.5.2<0.5.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Kavita to a version that resolves this vulnerability.

    Fixed in 0.5.4.1

Event History

Oct 22, 2026
CVE Published
via MITRE·10:57 AM
Data Sourced
via MITRE·10:57 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Kavita versions from 0.5.2 up to, but not including, 0.5.4.1 are affected. Instances exposed to network clients should be prioritized because the vulnerable endpoint can be reached with GET requests.

2

Does an attacker need an account or user interaction to exploit this?

No. The vulnerability can be exploited by an unauthenticated attacker, and no user interaction is required.

3

What evidence should defenders look for in request logs?

Review requests to /api/image/cover-upload for filename parameters containing ../ sequences, particularly attempts to request files such as ../appsettings.json. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203