{"id":"CVE-2022-51024","kind":"vulnerability","aliases":["CVE-2022-51024"],"related":[],"title":"Kavita: path traversal lets anyone without login read server files","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.","summary":"Kavita, a self-hosted media server, versions 0.5.2 before 0.5.4.1 let unauthenticated users read arbitrary files by sending '../' sequences in the filename parameter of /api/image/cover-upload. An attacker can retrieve files such as appsettings.json, which can expose configuration secrets.","severity":"high","cvss":8.7,"epss":0.00389,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["kavita","other","self-hosted"],"not_affected_if":["version-outside-0.5.2-to-0.5.4.0"],"how_to_check":"Check the installed Kavita version; versions from 0.5.2 up to but not including 0.5.4.1 are affected.","fix":"Upgrade Kavita to 0.5.4.1 or later and rotate any secrets stored in appsettings.json.","status":"open","published_at":"2026-10-22T11:17:05+00:00","first_seen_at":"2026-10-23T21:57:30+00:00","triaged_at":"2026-10-23T22:35:19+00:00","updated_at":"2026-10-24T07:15:51+00:00","category":"other","confidence":0.8,"triage":{"at":"2026-10-23T22:35:19Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Kavita to 0.5.4.1 or later and rotate any secrets stored in appsettings.json.","reach":"internet","title":"Kavita: path traversal lets anyone without login read server files","impact":"medium","summary":"Kavita, a self-hosted media server, versions 0.5.2 before 0.5.4.1 let unauthenticated users read arbitrary files by sending '../' sequences in the filename parameter of /api/image/cover-upload. An attacker can retrieve files such as appsettings.json, which can expose configuration secrets.","category":"other","who_cares":["kavita","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker reads server config files, including stored secrets and credentials.","analyst_note":"Confirm the exact fixed release and whether Shadowserver exposure data shows active exploitation, using the NVD entry linked in the sources.","how_to_check":"Check the installed Kavita version; versions from 0.5.2 up to but not including 0.5.4.1 are affected.","needs_analyst":true,"not_affected_if":["version-outside-0.5.2-to-0.5.4.0"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000518,"input_tokens":2976,"output_tokens":441,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-10':116C '-18':117C '-2022':12A,15A '-51024':13A,16A '/api/image/cover-upload':47B,91C '/appsettings.json':96C '0.5.2':30B,62C '0.5.4.1':32B,64C '2023':115C 'allow':71C 'anyon':5A 'appsettings.json':55B 'arbitrari':37B,76C 'attack':49B,73C,85C 'configur':59B,99C 'contain':65C 'cve':11A,14A 'directori':104C 'evid':106C 'exploit':105C 'expos':58B 'file':10A,38B,52B,77C,100C 'filenam':44B,83C,93C 'first':108C 'foundat':113C 'get':88C 'host':21B,26B 'kavita':1A,17B,22B,61C 'let':4A,33B 'like':95C 'login':7A 'media':27B 'observ':109C 'outsid':101C 'paramet':45B,84C 'path':2A,67C 'read':8A,36B,75C 'request':89C 'retriev':51B,98C 'secret':60B 'self':20B,25B 'self-host':19B,24B 'send':40B,87C 'sequenc':41B,80C 'server':9A,28B 'shadowserv':112C 'suppli':79C 'temp':103C 'travers':3A,68C 'unauthent':34B,72C 'user':35B 'valu':94C 'version':29B 'vulner':69C 'without':6A","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-22T11:17:05+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2022-51024","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-51024","severity":null,"published_at":"2026-10-22T11:17:05+00:00","modified_at":"2026-10-22T17:40:46+00:00","first_seen_at":"2026-10-23T21:57:30+00:00","fetched_at":"2026-10-23T22:29:02+00:00","note":null},{"source":"epss","external_id":"CVE-2022-51024","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-51024","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T07:15:51+00:00","fetched_at":"2026-10-25T12:38:51+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}