CVE-2023-50974 json
Apprite CLI makes Use of Hard-coded Credentials
published 2024-01-09 2 y ago modified 2026-06-17 4 mo ago also GHSA-g777-crp9-m27g , PYSEC-2024-2 , EUVD-2024-0017
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm appwrite-cli 3.0.0
- pypi appwrite 3.0.0
- appwrite command_line_interface 3.0.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | appwrite-cli | <3.0.0 |
3.0.0 |
| pypi | appwrite | <3.0.0 |
3.0.0 |
Classification
- Weakness
-
- CWE-798 Use of Hard-coded Credentials
References
-
gist.github.com
/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d
web, exploit, third-party-advisory, evidence
-
appwrite.io
/docs/tooling/command-line/installation
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-50974
advisory
-
github.com
/appwrite/sdk-for-cli
package
-
github.com
/pypa/advisory-database/tree/main/vulns/appwrite/PYSEC-2024-2.yaml
web
-
github.com
/advisories/GHSA-g777-crp9-m27g
advisory
Sources
- CVE List CVE-2023-50974
- GitHub Advisory GHSA-g777-crp9-m27g
- NVD CVE-2023-50974
- OSV PYSEC-2024-2
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.