{"id":"CVE-2025-9604","summary":"coze-studio aes.go hard-coded key","details":"A vulnerability was identified in coze-studio up to 0.2.4. The impacted element is an unknown function of the file backend/domain/plugin/encrypt/aes.go. The manipulation of the argument AuthSecretKey/StateSecretKey/OAuthTokenSecretKey leads to use of hard-coded cryptographic key\r . It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitability is regarded as difficult. To fix this issue, it is recommended to deploy a patch. The vendor replied to the GitHub issue (translated from simplified Chinese): \"For scenarios requiring encryption, we will implement user-defined key management through configuration and optimize the use of encryption tools, such as random salt.\"","modified":"2026-08-12T03:51:25.791417040Z","published":"2025-08-29T01:32:09.045Z","database_specific":{"cwe_ids":["CWE-320","CWE-321"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9604.json","cna_assigner":"VulDB"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9604.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9604"},{"type":"ADVISORY","url":"https://vuldb.com/?id.321780"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.636417"},{"type":"REPORT","url":"https://github.com/coze-dev/coze-studio/issues/505"},{"type":"REPORT","url":"https://github.com/coze-dev/coze-studio/issues/505#issuecomment-3148568862"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.321780"},{"type":"FIX","url":"https://github.com/coze-dev/coze-studio/pull/533"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coze-dev/coze-studio","events":[{"introduced":"a016ca92e78389c781accfac0d5758f436851ca9"},{"last_affected":"ffb1c212eac02803a25ba7876686969494409101"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0.2.0"},{"last_affected":"0.2.0"},{"introduced":"0.2.1"},{"last_affected":"0.2.1"},{"introduced":"0.2.2"},{"last_affected":"0.2.2"},{"introduced":"0.2.3"},{"last_affected":"0.2.3"},{"introduced":"0.2.4"},{"last_affected":"0.2.4"}]}}],"versions":["0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9604.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X"}]}