llamaCVEVulnerability Intelligence
/
keystore-go

CVE-2026-76101

keystore-go integrity and password check bypass in Decode()

Local attackers with file write access can strip a keystore's digest to skip checks and add trusted CA certificates.

Specific setups onlySin parche publicadounchecked return value
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición1 dDesde la divulgación, 18 nov 2026, 4:49 p. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche v3.0.3
Monitoreo
Detectada +1
Fuente: OSV +1
24 jul 20
18 nov 26
19 nov 26
20 nov 26
24 jul 20
22 feb 22
22 sept 23
21 abr 25
20 nov 26
FechaFaseEventoDetalle
Remediación Parche v3.0.3 github.com/pavel-v-chernykh/keystore-go/v3 · -2308 d desde divulgación
Divulgación Publicada CVE-2026-76101 divulgada · CVSS 7.1 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 18 nov 2026

The keystore-go library from pavlo-v-chernykh can be attacked by a local user with low privileges who has write access to a Java KeyStore file. By removing the file's trailing integrity digest, the attacker can bypass tamper detection and password verification, and add or replace trusted CA certificates without knowing the keystore password.

Affects legacy v2 versions of keystore-go before 3.0.0, where Decode() accepts a JKS keystore with its trailing integrity digest stripped. Fixed in 3.0.0.

¿Qué significa?Decode() in keystore-go does not require the keystore's trailing integrity digest, so the password check can be skipped when that digest is removed. An attacker who can write the JKS file but does not know the password can add or replace trusted CA certificates, which can enable man-in-the-middle interception of TLS connections that trust the forged CA.
¿Quién está afectado?The legacy v2 versions of keystore-go before 3.0.0 are affected. To check, look at the keystore-go version in the project's go.mod file or dependency list.
¿Qué hacer?Upgrade keystore-go to 3.0.0 or later, which is the fixed version.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Attacker has write access to the keystore file“allowing an attacker with write access to a keystore file”
¿Quién debe revisar?Teams running pavel-v-chernykh/keystore-go v2.1.0 or earlier to load JKS truststores with Decode(), especially those trusting CA certificates from a file an attacker could write.
No protegeNo fixed release exists on the bare module path; every release there predates the fix.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
github.com/pavel-v-chernykh/keystore-go≤ 2.1.0
keystore-go · github.com/pavel-v-chernykh/keystore-go/v3< 3.0.0
v2.1.0+incompatible
2.1.0
3.0.0
v3.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/pavel-v-chernykh/keystore-go
Sin parche — — v2.1.0+incompatible afectada
gogithub.com/pavel-v-chernykh/keystore-go/v3
Corregida v3.0.3 -2308 d v3.1.0 no afectada
Versiones corregidas3.0.0v3.0.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/pavlo-v-chernykh/keystore-go/security/advisories/GHSA-j282-pjg5-j643
Otrahttps://github.com/pavlo-v-chernykh/keystore-go/commit/af93effd832cf1aef7794e69c31e1b668e17b851
Otrahttps://github.com/pavlo-v-chernykh/keystore-go/releases/tag/v3.0.0

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.