{"id":"CVE-2023-50974","aliases":["EUVD-2024-0017","GHSA-g777-crp9-m27g","PYSEC-2024-2"],"status":"published","title":"Apprite CLI makes Use of Hard-coded Credentials","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00293,"percentile":0.22144,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-798"],"published":"2024-01-09T00:00:00Z","modified":"2026-06-17T06:40:20Z","fixes":[{"ecosystem":"npm","package":"appwrite-cli","fixed_in":["3.0.0"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"appwrite","fixed_in":["3.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"appwrite-cli","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"appwrite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"appwrite-cli","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"appwrite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.1.0","0.1.1","0.10.0","0.2.0","0.2.1","0.2.2","0.3.0","0.4.0","0.5.0","0.5.1","0.6.0","0.7.0","0.8.0","0.9.0","1.0.0","1.0.0rc1","1.1.0","1.2.0","2.0.0","2.0.1","2.0.2"]},{"source":"osv","ecosystem":"PyPI","package":"appwrite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.1.0","0.1.1","0.10.0","0.2.0","0.2.1","0.2.2","0.3.0","0.4.0","0.5.0","0.5.1","0.6.0","0.7.0","0.8.0","0.9.0","1.0.0","1.0.0rc1","1.1.0","1.2.0","2.0.0","2.0.1","2.0.2"]}],"products":[{"vendor":"appwrite","product":"command_line_interface"}],"references":[{"url":"https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d","tags":["x_transferred","Exploit","Third Party Advisory","web","evidence"]},{"url":"https://appwrite.io/docs/tooling/command-line/installation","tags":["x_transferred","Product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50974","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/appwrite/PYSEC-2024-2.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g777-crp9-m27g","tags":["advisory"]},{"url":"https://github.com/appwrite/sdk-for-cli","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-50974","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.","status":"published","published":"2024-01-09T00:00:00Z","modified":"2025-06-17T16:02:00.408Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-798"],"updated_at":"2026-11-02T14:35:34.55015Z"}],"euvd":[{"id":"EUVD-2024-0017","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.","status":"published","published":"2024-01-09T00:00:00Z","modified":"2025-06-17T16:02:00Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:22.334611Z"}],"ghsa":[{"id":"GHSA-g777-crp9-m27g","title":"Apprite CLI makes Use of Hard-coded Credentials","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.","status":"published","published":"2024-01-09T09:30:29Z","modified":"2024-09-13T14:16:02Z","cvss":[{"version":"4.0","score":6.8,"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","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-798"],"updated_at":"2026-11-02T14:38:02.014847Z"}],"nvd":[{"id":"CVE-2023-50974","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.","status":"published","published":"2024-01-09T09:15:42.48Z","modified":"2026-06-17T06:40:20.573Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-798"],"updated_at":"2026-11-02T14:09:00.788714Z"}],"osv":[{"id":"GHSA-g777-crp9-m27g","title":"Apprite CLI makes Use of Hard-coded Credentials","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.","status":"published","published":"2024-01-09T09:30:29Z","modified":"2024-09-13T14:23:33.25438Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"},{"version":"4.0","score":6.8,"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","level":"medium"}],"cwes":["CWE-798"],"updated_at":"2026-11-02T15:46:47.472172Z"},{"id":"PYSEC-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.","status":"published","published":"2024-01-09T09:15:00Z","modified":"2026-06-10T17:00:33.028644884Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
