coze-studio aes.go hard-coded key
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."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-9604
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 11:17 UTC · Revision 1
Source evidence
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."
osv:CVE-2025-9604
Complete source record
{
"id": "9b2db91e6cbb75cf2ab075f30ba359398d871ff1b4d1f81273660dbfa5fc5e82",
"url": "https://osv.dev/vulnerability/CVE-2025-9604",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "coze-studio aes.go hard-coded key",
"summary": "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.\"",
"evidence": "osv:CVE-2025-9604",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-9604",
"aliases": [
"CVE-2025-9604"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/coze-dev/coze-studio",
"type": "GIT",
"events": [
{
"introduced": "a016ca92e78389c781accfac0d5758f436851ca9"
},
{
"last_affected": "ffb1c212eac02803a25ba7876686969494409101"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.2.0"
},
{
"last_affected": "0.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.2.1"
},
{
"last_affected": "0.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.2.2"
},
{
"last_affected": "0.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.2.3"
},
{
"last_affected": "0.2.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.2.4"
},
{
"last_affected": "0.2.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.2.4"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:50.602112128Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9604.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-9604",
"https://vuldb.com/?id.321780",
"https://vuldb.com/?submit.636417",
"https://github.com/coze-dev/coze-studio/issues/505",
"https://github.com/coze-dev/coze-studio/issues/505#issuecomment-3148568862",
"https://vuldb.com/?ctiid.321780",
"https://github.com/coze-dev/coze-studio/pull/533"
],
"provider_metadata": {
"cwe_ids": [
"CWE-320",
"CWE-321"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9604.json"
}
},
"related_cves": [
{
"value": "CVE-2025-9604",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519102,
"published_at": "2025-08-29T01:32:09.045+00:00"
}