CVE-2022-25377 json
Appwrite Directory Traversal vulnerability
published 2024-02-22 2 y ago modified 2026-06-17 4 mo ago also GHSA-wfm3-gq9h-mrjm , EUVD-2024-0751
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- packagist appwrite/server-ce 0.12.2
- appwrite appwrite 0.12.2
- github.com/appwrite/appwrite@892f6fa commit
- github.com/appwrite/appwrite#2780 pull request
- github.com/appwrite/appwrite/releases/tag/0.12.2 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- dubell.io https://dubell.io/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | appwrite/server-ce | >=0.5.0, <0.12.2 |
0.12.2 |
Affected products
- appwrite appwrite
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/appwrite/appwrite/pull/2780
web, patch
-
github.com
/appwrite/appwrite/commit/892f6fa4ba0d44e2435ffad1a84542400cfb7a9b
web
-
dubell.io
/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1/
exploit
-
github.com
/appwrite/appwrite/blob/0.12.0/app/controllers/general.php#L539
web, product
-
github.com
/appwrite/appwrite/releases/tag/0.12.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2022-25377
advisory
-
dubell.io
/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1
web
-
github.com
/appwrite/appwrite
package
Sources
- CVE List CVE-2022-25377
- GitHub Advisory GHSA-wfm3-gq9h-mrjm
- NVD CVE-2022-25377
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.