{"id":"CVE-2024-3404","details":"In gaizhenbiao/chuanhuchatgpt, specifically the version tagged as 20240121, there exists a vulnerability due to improper access control mechanisms. This flaw allows an authenticated attacker to bypass intended access restrictions and read the `history` files of other users, potentially leading to unauthorized access to sensitive information. The vulnerability is present in the application's handling of access control for the `history` path, where no adequate mechanism is in place to prevent an authenticated user from accessing another user's chat history files. This issue poses a significant risk as it could allow attackers to obtain sensitive information from the chat history of other users.","modified":"2026-04-10T05:12:49.675828Z","published":"2024-06-06T19:16:01.673Z","references":[{"type":"FIX","url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"},{"type":"FIX","url":"https://huntr.com/bounties/ed32fc32-cb8f-4fbd-8209-cc835d279699"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gaizhenbiao/chuanhuchatgpt","events":[{"introduced":"0"},{"fixed":"20b2e02824b6e6d1a32c43f7419f321d81db955e"},{"fixed":"ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"20240919-4"}]}}],"versions":["20230303","20230305","20230317","20230320","20230323","20230327","20230330","20230409","20230413","20230417","20230422","20230427","20230502","20230507","20230513","20230526","20230601","20230614","20230619","20230628","20230709","20230719","20230728","20230809","20230820","20230830","20230911","20230916","20230926","20231006","20231020","20231110","20231215","20231223","20240121","20240305","20240310","20240410","20240628","20240802","20240914","20240918","20240919","20240919-2","20240919-3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3404.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}