{"id":"CVE-2024-6090","published":"2024-06-27T18:40:51Z","modified":"2025-10-15T12:50:32Z","title":"Path Traversal Vulnerability in gaizhenbiao/chuanhuchatgpt","vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","tier":"tail","description":{"text":"A path traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410, allowing any user to delete other users' chat histories. This vulnerability can also be exploited to delete any files ending in `.json` on the target system, leading to a denial of service as users are unable to authenticate.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00859,"percentile":0.59353,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/bd0f8f89-5c8a-4662-89aa-a6861d84cf4c","tags":[]},{"url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/526c615c437377ee9c71f866fd0f19011910f705","tags":[]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":11.87},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gaizhenbiao","affectedVersions":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","versions":[">= unspecified, < 20240918"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-06-27T19:33:33.579804Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"chuanhuchatgpt","vulnerableRanges":["<=20240410"],"patched":[],"from":["PYSEC-2024-319"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-47245","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gaizhenbiao-chuanhuchatgpt-cve-2024-4520","parents":[{"from":"CVE-2024-4520","to":"CVE-2024-6090","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["modules/models/base_model.py","modules/utils.py"],"commits":["https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b","https://github.com/gaizhenbiao/chuanhuchatgpt/commit/526c615c437377ee9c71f866fd0f19011910f705"],"basis":"shared function","functions":["save_file"]}]},{"from":"CVE-2024-3404","to":"CVE-2024-6090","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["modules/models/base_model.py","modules/utils.py"],"commits":["https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b","https://github.com/gaizhenbiao/chuanhuchatgpt/commit/526c615c437377ee9c71f866fd0f19011910f705"],"basis":"shared function","functions":["save_file"]}]}],"children":[{"from":"CVE-2024-6090","to":"CVE-2024-8143","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["modules/models/base_model.py","modules/utils.py"],"commits":["https://github.com/gaizhenbiao/chuanhuchatgpt/commit/526c615c437377ee9c71f866fd0f19011910f705","https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"],"basis":"shared function","functions":["save_file"]}]}]}}