CVE-2023-50974
JSON

5.5medium

Apprite CLI makes Use of Hard-coded Credentials

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-g777-crp9-m27gPYSEC-2024-2

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
appwrite-cli (npm)before 3.0.0GitHub Advisory Database
appwrite (PyPI)before 3.0.0GitHub Advisory Database, PyPA Advisory Database
appwrite command_line_interfacebefore 3.0.0NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-798

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En Appwrite CLI anterior a 3.0.0, cuando se utiliza el comando de inicio de sesión, las credenciales del usuario de Appwrite se almacenan en un archivo ~/.appwrite/prefs.json con 0644 como permisos UNIX. Cualquier usuario del sistema local puede acceder a esas credenciales.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-50974 changed 2025-06-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-g777-crp9-m27g changed 2024-09-13CC-BY-4.0
NVDCVE-2023-50974 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-2 changed 2026-06-10CC-BY-4.0