HackerFeeds
All CVEs

CVE-2026-76101: keystore-go Improper Signature Verification

HIGH7.1

Published 2026-11-18 · Updated 2026-11-19 · Source security-advisories@github.com

Not known to be exploited · high severity — update keystore-go to 3.0.0 or later in your next patch cycle.

What to do

  1. Update keystore-go to version 3.0.0 or later. Versions before 3.0.0 are affected.
  2. Until it is patched, limit who has a local account on systems running keystore-go.
  3. Do not trust signed artefacts handled by the affected version until it is updated.

Affected and fixed versions

ProductAffectedFixed in
keystore-go< 3.0.03.0.0

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality and integrity is rated high.

CVSS 3.1 metrics for CVE-2026-76101
Attack vectorLocalExploiting it requires local access to the system, or getting a user to open a crafted file.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weakness: Improper Signature Verification

Signatures are not checked correctly, so tampered or forged data is accepted as authentic.

Classified as CWE-252, CWE-347, CWE-354.

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.

Advisory text as published in the NVD record.

View on NVD