CVE-2026-76101pavlo-v-chernykh keystore-go
High 7.1
- Priority
- 48
- CVSS 3.1
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for keystore-go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/pavel-v-chernykh/keystore-go |
≤ 2.1.0 |
no fixed version | — |
| Go | github.com/pavel-v-chernykh/keystore-go |
all |
no fixed version | — |
| Go | github.com/pavel-v-chernykh/keystore-go/v3 |
< 3.0.0 |
3.0.0 |
go get github.com/pavel-v-chernykh/keystore-go/v3@v3.0.0 |
Per OSV / GitHub Advisories (GHSA-j282-pjg5-j643, GO-2026-7002). Check the version in your lockfile before upgrading.
Affected products
- pavlo-v-chernykh · keystore-go
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.