{"id":"CVE-2023-50974","aliases":["CVE-2023-50974","GHSA-g777-crp9-m27g","PYSEC-2024-2"],"related":[],"kind":"vulnerability","state":"published","title":"Apprite CLI makes Use of Hard-coded Credentials","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-01-09T00:00:00.000Z","modified":"2026-06-17T06:40:20.573Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-798"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"npm","package":"appwrite-cli","purl":"pkg:npm/appwrite-cli","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"PyPI","package":"appwrite","purl":"pkg:pypi/appwrite","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.0.0"}],"vendor":"appwrite","product":"command_line_interface","cpe":"cpe:2.3:a:appwrite:command_line_interface:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"PyPI","package":"appwrite","purl":"pkg:pypi/appwrite","source":"pysec"}],"references":[{"url":"https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d","tags":["evidence","exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://appwrite.io/docs/tooling/command-line/installation","tags":["product","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50974","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/appwrite/sdk-for-cli","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/appwrite/PYSEC-2024-2.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-g777-crp9-m27g","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-27T16:01:54.666Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-50974","url":"https://www.cve.org/CVERecord?id=CVE-2023-50974","licence":"CVE Terms of Use","modified":"2025-06-17T16:02:00.408Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g777-crp9-m27g","url":"https://github.com/advisories/GHSA-g777-crp9-m27g","licence":"CC-BY-4.0","modified":"2024-09-13T14:23:33.254Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-50974","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50974","licence":"Public domain","modified":"2026-06-17T06:40:20.573Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-2","url":"https://osv.dev/vulnerability/PYSEC-2024-2","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:33.028Z"}],"updatedAt":"2026-11-25T22:58:31.978Z","epss":{"score":0.00293,"percentile":0.23574,"date":"2026-12-01T12:00:22.000Z"}}