CVE-2026-76101
Received Received - Intake

keystore-go TrustedCertificateEntry Tampering via SHA-1 Digest Bypass

Vulnerability report for CVE-2026-76101, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
keystore-go keystore 3.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-347 The product does not verify, or incorrectly verifies, the cryptographic signature for data.
CWE-252 The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.
CWE-354 The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

keystore-go is a Go library for Java KeyStore encoding and decoding. The vulnerability in versions 2.1.0 and earlier allows an attacker with write access to modify a JKS file by removing the final 20-byte SHA-1 integrity digest. This causes the decoder to skip tamper detection and password verification for certificate-only stores using TrustedCertificateEntry values.

Detection Guidance

This vulnerability affects keystore-go versions 2.1.0 and earlier. To detect it, check the version of keystore-go in use with commands like 'go list -m all' or inspecting your project's dependency files. If you find version 2.1.0 or earlier, the system is vulnerable.

Impact Analysis

An attacker could add or replace trusted CA certificates in a keystore without knowing the password. This could enable interception or modification of TLS connections that trust the forged CA, compromising secure communications.

Compliance Impact

This vulnerability could lead to unauthorized certificate trust modifications, potentially violating data integrity and confidentiality requirements in GDPR and HIPAA. It undermines secure communication channels and may result in non-compliance with encryption and access control standards.

Mitigation Strategies

Upgrade keystore-go to version 3.0.0 or later immediately. This version includes the fix for the integrity digest check. Update your project dependencies and redeploy affected systems.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-76101. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...