{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.5.0"
              },
              {
                "fixed": "0.12.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "adfa0e217c03e2ec7bef95dd4f066aa89be3f86b"
            },
            {
              "fixed": "4de45b71421756e22a9672add45580f60acb2907"
            }
          ],
          "repo": "https://github.com/appwrite/appwrite",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The ACME-challenge endpoint in Appwrite 0.5.0 through 0.12.x before 0.12.2 allows remote attackers to read arbitrary local files via ../ directory traversal. In order to be vulnerable, APP_STORAGE_CERTIFICATES/.well-known/acme-challenge must exist on disk. (This pathname is automatically created if the user chooses to install Let's Encrypt certificates via Appwrite.)",
  "id": "CVE-2022-25377",
  "modified": "2026-03-13T21:50:49.636919540Z",
  "published": "2024-02-22T22:15:47.170Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/appwrite/appwrite/blob/0.12.0/app/controllers/general.php#L539"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/appwrite/appwrite/releases/tag/0.12.2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/appwrite/appwrite/pull/2780"
    },
    {
      "type": "EVIDENCE",
      "url": "https://dubell.io/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}