CVE-2023-50974
MEDIUM 5.5CVSS 3.1Apprite CLI makes Use of Hard-coded Credentials
In Appwrite CLI before 3.0.0, when using the login command, the credentials of the Appwrite user are stored in a ~/.appwrite/prefs.json file with 0644 as UNIX permissions. Any user of the local system can access those credentials.
- Published
- 9 Jan 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-798
- Also known as
- GHSA-g777-crp9-m27gPYSEC-2024-2
- Sources
- NVDJSONOSV GHSA-g777-crp9-m27gJSONOSV PYSEC-2024-2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | appwrite | command_line_interfacecpe:2.3:a:appwrite:command_line_interface:*:*:*:*:*:*:*:* |
< 3.0.0 | 3.0.0 |
| OSV | npm | appwrite-cli | < 3.0.0 | 3.0.0 |
| OSV | PyPI | appwrite | < 3.0.0 | 3.0.0 |
References
- https://appwrite.io/docs/tooling/command-line/installation · Product, WEB
- https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2023-50974 · ADVISORY
- https://github.com/appwrite/sdk-for-cli · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/appwrite/PYSEC-2024-2.yaml · WEB
- https://github.com/advisories/GHSA-g777-crp9-m27g · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Jan 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jan 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jan 2024)