llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl-encrypt

GHSA-Q8P3-7H6H-GHFR

Identity.load trusts the stored fingerprint without re-deriving it, enabling silent key substitution

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 1 d de la divulgación
Exposición99 dDesde la divulgación, 12 ago 2026, 7:19 a. m.
Detección98 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.4.9
Monitoreo
Detectada +1
12 ago 26
13 ago 26
18 nov 26
20 nov 26
12 ago 26
6 sept 26
1 oct 26
26 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-Q8P3-7H6H-GHFR divulgada
Remediación Parche 1.4.9 openssl-encrypt · 1 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Identity.load reads the `fingerprint` field verbatim from an identity's `identity.json` and never re-derives it from the actual public-key `.pem` files, unlike the import path (import_public), which calls check_fingerprint_consistency() and fails closed.

Under the supplied-store threat model (a shared contacts directory, an extracted archive, --identity-store pointing at attacker-controlled files), a store whose identity.json claims a genuine out-of-band-verified fingerprint but whose .pem files hold ATTACKER keys is indistinguishable from a real pinned contact:
- `identity show` prints the good (claimed) fingerprint while `encrypt --for-identity` encapsulates the file to the attacker's ML-KEM key (F6);
- `decrypt_file_asymmetric` verifies the ML-DSA signature against the substituted signing_public.pem and prints "Signature verified from: <legitimate fingerprint>", so a forged file passes the only authenticity check the format has (F7);
- re-importing the real bundle raises no TOFU warning, because add_identity compared the JSON-claimed fingerprint rather than one recomputed from the keys.

Fix (1.4.9): Identity.load now calls check_fingerprint_consistency() and fails closed when the stored fingerprint does not match the fingerprint recomputed from the public keys, so a substituted store entry is rejected (and skipped/reported by list_identities) instead of being used under a forged fingerprint. The add_identity TOFU key-change check now compares recomputed fingerprints on both sides, so a key substitution is detected from the actual keys. Affects both the 1.4.x and 1.5.x lines. Tracked as gitlab#230.

Versiones

Rangos afectados

Afectada Corregida Última
openssl-encrypt≤ 1.4.8
1.4.8
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl-encrypt
Corregida 1.4.9 1 d 1.4.9 no afectada
Versiones corregidas1.4.9
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-q8p3-7h6h-ghfr

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