CVE-2025-9604

coze-studio aes.go hard-coded key

State
Published
Severity
6.3 Medium
Published
Aug 29, 2025
Updated
Aug 29, 2025
Reserved
Aug 28, 2025

Read the record on cve.org

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."

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS: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:XVulDB
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:CVulDB
3.03.7 LowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:CVulDB
2.02.6 LowAV:N/AC:H/Au:N/C:P/I:N/A:N/E:ND/RL:OF/RC:CVulDB

Weaknesses

  • CWE-321 Use of Hard-coded Cryptographic Key
  • CWE-320 Key Management Error

Affected Products

ProductVersions
coze-studion/a
  • 0.2.0Affected
  • 0.2.1Affected
  • 0.2.2Affected
  • 0.2.3Affected
  • 0.2.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.