Home / Cloudflare / gokey / CVE-2025-13353
CVE-2025-13353: is it exploited, and which versions of Cloudflare gokey are affected and fixed?
CVE-2025-13353 is a weak randomness vulnerability in Cloudflare gokey. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: github.com/cloudflare/gokey before 0.2.0 (GitHub advisory GHSA-69jw-4jj8-fcxm). Fixed in 0.2.0 (GitHub advisory GHSA-69jw-4jj8-fcxm). Severity: High (7.1, CVSS 4.0, from cloudflare).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-13353?
gokey allows secret recovery from a seed file without the master password
In gokey versions <0.2.0, a flaw in the seed decryption logic resulted in passwords incorrectly being derived solely from the initial vector and the AES-GCM authentication tag of the key seed. This issue has been fixed in gokey version 0.2.0. This is a breaking change. The fix has invalidated any passwords/secrets that were derived from the seed file (using the -s option). Even if the input seed file stays the same, version 0.2.0 gokey will generate different secrets. Impact This vulnerability impacts generated keys/secrets using a seed file as an entropy input (using the -s option). Keys/secrets generated just from the master password (without the -s option) are not impacted. The confidentiality of the seed itself is also not impacted (it is not required to regenerate the seed itself). Specific impact includes: * keys/secrets generated from a seed file may have lower entropy: it was expected that the whole seed would be used to generate keys (240 bytes of entropy input), where in vulnerable versions only 28 bytes was used * a malicious entity could have recovered all passwords, generated from a particular seed, having only the seed file in possession without the knowledge of the seed master password Patches The code logic bug has been fixed in gokey version 0.2.0 and above. Due to the deterministic nature of gokey, fixed versions will produce different passwords/secrets using seed files, as all seed entropy will be used now. System secret rotation guidance It is advised for users to regenerate passwords/secrets using the patched version of gokey (0.2.0 and above), and provision/rotate these secrets into respective systems in place of the old secret. A specific rotation procedure is system-dependent, but most common patterns are described below. Systems that do not require the old password/secret for rotation Such systems usually have a "Forgot password" facility or a similar facility allowing users to rotate their password/secrets by sending a unique "magic" link to the user's email or phone. In such cases users are advised to use this facility and input the newly generated password secret, when prompted by the system. Systems that require the old password/secret for rotation Such systems usually have a modal password rotation window usually in the user settings section requiring the user to input the old and the new password sometimes with a confirmation. To generate/recover the old password in such cases users are advised to: * temporarily download gokey version 0.1.3 https://github.com/cloudflare/gokey/releases/tag/v0.1.3 for their respective operating system to recover the old password * use gokey version 0.2.0 or above to generate the new password * populate the system provided password rotation form Systems that allow multiple credentials for the same account to be provisioned Such systems usually require a secret or a cryptographic key as a credential for access, but allow several credentials at the same time. One example is SSH: a particular user may have several authorized public keys configured on the SSH server for access. For such systems users are advised to: * generate a new secret/key/credential using gokey version 0.2.0 or above * provision the new secret/key/credential in addition to the existing credential on the system * verify that the access or required system operation is still possible with the new secret/key/credential * revoke authorization for the existing/old credential from the system Credit This vulnerability was found by Théo Cusnir ( @mister_mime https://hackerone.com/mister_mime ) and responsibly disclosed through Cloudflare's bug bounty program.
From the CVE record by cloudflare, last updated December 2, 2025, 16:54 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cloudflare | gokey github.com/cloudflare/gokey | from 0.1.0 before 0.2.0 | 0.2.0 |
As the CVE record by cloudflare states it, last updated December 2, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/cloudflare/gokey | < 0.2.0 | 0.2.0 | GHSA-69jw-4jj8-fcxm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 2, 2025. Summary: gokey allows secret recovery from a seed file without the master password.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cloudflare | gokey | before 0.2.0 | application |
NVD analysis (status Analyzed), last modified November 13, 2026, 23:10 UTC.
How severe is CVE-2025-13353?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H | cloudflare |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-13353 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 2, 2025)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-330 Use of Insufficiently Random Values
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- November 18, 2025
- Published
- December 2, 2025, 11:03 UTC
- CVE record updated
- December 2, 2025, 16:54 UTC by cloudflare
- NVD
- Analyzed, last modified November 13, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-13353
Is CVE-2025-13353 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cloudflare gokey are affected by CVE-2025-13353?
github.com/cloudflare/gokey before 0.2.0, per the GitHub advisory GHSA-69jw-4jj8-fcxm. The tables above give every range the sources list.
Which version fixes CVE-2025-13353?
0.2.0, per the GitHub advisory GHSA-69jw-4jj8-fcxm. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-13353?
High (7.1, CVSS 4.0, from cloudflare). The severity table above shows each score with its source.
Where is the official record of CVE-2025-13353?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.