CVE-2025-9604 Details
Description
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 . 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."
A vulnerability exists in Coze Studio versions through 0.2.4, specifically within the AES encryption implementation in the file backend/domain/plugin/encrypt/aes.go. The vulnerability arises from the use of hard-coded cryptographic keys, which can be accessed by anyone with source code visibility. This issue allows for offline decryption of data encrypted with these keys. Additionally, the encryption method used is deterministic, meaning identical plaintexts result in identical ciphertexts, further exposing the encrypted data to potential attacks. The vulnerability can be exploited remotely, but the exploitation is considered difficult due to the high complexity involved.
A patch has been implemented and is available for download on the Coze Studio GitHub repository. This patch addresses the vulnerability by replacing the fixed IV with a random one, while maintaining backward compatibility. However, further actions are needed to remove the hard-coded keys and add an authentication tag to the encryption process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 29, 2025CISA-ADP
Assessed Aug 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/coze-dev/coze-studio/issues/505 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/coze-dev/coze-studio/issues/505#issuecomment-3148568862 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/coze-dev/coze-studio/pull/533 | [email protected] | Vendor |
| https://vuldb.com/?ctiid.321780 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.321780 | [email protected] | AdvisoryRemedy |
| https://vuldb.com/?submit.636417 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-320 | Key Management Errors | [email protected] |
| CWE-321 | Use of Hard-coded Cryptographic Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| coze-dev coze-studio | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 29, 2025 | New CVE Received | [email protected] |
Volerion