{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.5.2"
                  },
                  {
                    "fixed": "0.5.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "88b5ebeb6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "a00e8f121f6e42c3c401aa010171e9546e5dc672"
            },
            {
              "fixed": "9c31f7e7c81b919923cb2e3857439ec0d16243e4"
            },
            {
              "fixed": "88b5ebeb6"
            }
          ],
          "repo": "https://github.com/kareadita/kavita",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51024.json"
  },
  "details": "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.",
  "id": "CVE-2022-51024",
  "modified": "2026-10-23T02:30:46.906315418Z",
  "published": "2026-10-22T10:57:34.599Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51024.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Kareadita/Kavita"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Kareadita/Kavita/commit/88b5ebeb6"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/kavita-lfi.yaml"
    },
    {
      "type": "ARTICLE",
      "url": "https://huntr.com/bounties/2eef332b-65d2-4f13-8c39-44a8771a6f18"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-51024"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/kavita-0.5.4.1-unauthenticated-path-traversal-via-cover-upload-endpoint"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Kavita \u003c 0.5.4.1 Unauthenticated Path Traversal via cover-upload Endpoint"
}