CVE-2026-76101: keystore-go Improper Signature Verification
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
- Update keystore-go to version 3.0.0 or later. Versions before 3.0.0 are affected.
- Until it is patched, limit who has a local account on systems running keystore-go.
- Do not trust signed artefacts handled by the affected version until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| keystore-go | < 3.0.0 | 3.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.
| Attack vector | Local | Exploiting it requires local access to the system, or getting a user to open a crafted file. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | None | No 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
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.
References
- Patchhttps://github.com/pavlo-v-chernykh/keystore-go/commit/af93effd832cf1aef7794e69c31e1b668e17b851
- Patchhttps://github.com/pavlo-v-chernykh/keystore-go/releases/tag/v3.0.0
- Advisoryhttps://github.com/pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643
- Advisoryhttps://github.com/pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643