Skip to main content
VulnerabilityPublished

CVE-2025-13353: github.com/cloudflare/gokey · gokey allows secret recovery from a seed file without the master password

Affects github.com/cloudflare/gokeySource GCVE Database

0
Compare
Authoritative record:CVE-2025-13353· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 0.2.0 soon.

Data as of 22 Nov 2026, 02:43 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (cloudflare)CVSS 4.07.1
Patch
Available – fixed in 0.2.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade github.com/cloudflare/gokey to 0.2.0.

Affected software

ProductAffectedFixed in
Gogithub.com/cloudflare/gokeyAffected
  • <0.2.0
Fixed in
  • 0.2.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch fixing the vulnerability is available in gokey version 0.2.0 and later. Users should upgrade to version 0.2.0 or above and regenerate all passwords and secrets derived from seed files. They should then rotate these secrets in their respective systems. For systems that do not require the old password for rotation, use the system's password reset functionality. For systems requiring the old password, temporarily use gokey version 0.1.3 to recover the old password, then use version 0.2.0+ to generate the new password and complete rotation. For systems allowing multiple credentials, provision new credentials generated by version 0.2.0+ alongside old ones, verify access, then revoke old credentials.

Description

A cryptographic flaw in gokey versions prior to 0.2.0 caused keys and secrets derived from a seed file to be generated using insufficient entropy, relying only on the initial vector and AES-GCM authentication tag rather than the full seed. This allowed an attacker with access to the seed file to recover all generated passwords without knowing the master password. The issue was fixed in version 0.2.0, which uses the full seed entropy and produces different secrets. Users should regenerate and rotate secrets using the patched version.

References

Community reviews

Loading reviews…