SecurityContext

CVE-2026-76101: keystore-go - Integrity Bypass

  • Cve: CVE-2026-76101
  • Name: keystore-go - Integrity Bypass
  • Description: keystore-go is a Go implementation of the Java KeyStore encoder and decoder. In 2.1.0 and earlier, keystore.Decode in decoder.go does not check the error returned when reading the trailing SHA-1 integrity digest and bounds its comparison by the length of the digest actually read. If an attacker with write access removes the final 20-byte digest from a modified JKS file, the empty actual digest causes the comparison loop to execute zero times and Decode returns the parsed keystore without an error. For certificate-only stores using TrustedCertificateEntry values, this bypasses both tamper detection and password verification, allowing trusted CA certificates to be added or replaced without knowing the keystore password and potentially enabling interception or modification of TLS connections that trust the forged CA. This issue is fixed in version 3.0.0.
  • Impact: Attackers can add or replace trusted CA certificates without the keystore password, enabling interception or modification of TLS connections.
  • Remediation: Upgrade to version 3.0.0 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: data_tampering, man_in_the_middle
  • Requirements: Attacker needs write access to the JKS file
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00087
  • Epss percentile: 0.00295
  • Assignee: [email protected]
  • Published at: 2026-11-18T22:17:24Z
  • Age in days: 6
  • Modified at: 2026-11-19T20:17:52Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-76101
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-252Unchecked Return Value

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/pavlo-v-chernykh/keystore-go/commit/af93effd832cf1aef7794e69c31e1b668e17b851
https://github.com/pavlo-v-chernykh/keystore-go/releases/tag/v3.0.0
https://github.com/pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643

Projects

RepositoryLink kindsIndexedUrl
pavlo-v-chernykh/keystore-gocommit, package, releases, security_advisoryyes/v1/repositories/pavlo-v-chernykh/keystore-go

Index

  • Repositories: 2
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts