CVE-2026-34068
JSON

6.8medium

nimiq-transaction: UpdateValidator transactions allows voting key change without proof-of-knowledge

Severity
6.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 12% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pf4j-pf3w-95f9

Description

nimiq-transaction provides the transaction primitive to be used in Nimiq's Rust implementation. Prior to version 1.3.0, the staking contract accepts `UpdateValidator` transactions that set `new_voting_key=Some(...)` while omitting `new_proof_of_knowledge`. this skips the proof-of-knowledge requirement that is needed to prevent BLS rogue-key attacks when public keys are aggregated. Because tendermint macro block justification verification aggregates validator voting keys and verifies a single aggregated BLS signature against that aggregate public key, a rogue-key voting key in the validator set can allow an attacker to forge a quorum-looking justification while only producing a single signature. While the impact is critical, the exploitability is low: The voting keys are fixed for the epoch, so the attacker would need to know the next epoch validator set (chosen through VRF), which is unlikely. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.

Affected

Product or packageVersionsReported by
nimiq nimiq-transaction< 1.3.0CVE List
nimiq-transaction (crates.io)up to 0.2.0GitHub Advisory Database
nimiq nimiq_proof-of-stakebefore 1.3.0NVD

All scores

GitHub_M6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N

Classification

CWE-347

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

nimiq-transaction provides the transaction primitive to be used in Nimiq's Rust implementation. Prior to version 1.3.0, the staking contract accepts `UpdateValidator` transactions that set `new_voting_key=Some(...)` while omitting `new_proof_of_knowledge`. this skips the proof-of-knowledge requirement that is needed to prevent BLS rogue-key attacks when public keys are aggregated. Because tendermint macro block justification verification aggregates validator voting keys and verifies a single aggregated BLS signature against that aggregate public key, a rogue-key voting key in the validator set can allow an attacker to forge a quorum-looking justification while only producing a single signature. While the impact is critical, the exploitability is low: The voting keys are fixed for the epoch, so the attacker would need to know the next epoch validator set (chosen through VRF), which is unlikely. The patch for this vulnerability is included as part of v1.3.0. No known workarounds are available.

GitHub Advisory Database
Impact

The staking contract accepts UpdateValidator transactions that set new_voting_key=Some(...) while omitting new_proof_of_knowledge. this skips the proof-of-knowledge requirement that is needed to prevent BLS rogue-key attacks when public keys are aggregated.

Because tendermint macro block justification verification aggregates validator voting keys and verifies a single aggregated BLS signature against that aggregate public key, a rogue-key voting key in the validator set can allow an attacker to forge a quorum-looking justification while only producing a single signature.

While the impact is critical, the exploitability is low: The voting keys are fixed for the epoch, so the attacker would need to know the next epoch validator set (chosen through VRF), which is unlikely.

Patches

The patch for this vulnerability is included as part of v1.3.0.

Workarounds

No known workarounds.

NVD (es)

nimiq-transaction proporciona la primitiva de transacción para ser utilizada en la implementación de Nimiq en Rust. Antes de la versión 1.3.0, el contrato de staking acepta transacciones ’UpdateValidator’ que establecen ’new_voting_key=Some(...)’ mientras omiten ’new_proof_of_knowledge’. Esto omite el requisito de prueba de conocimiento que es necesario para prevenir ataques de clave maliciosa BLS cuando las claves públicas son agregadas. Debido a que la verificación de justificación de macrobloques de Tendermint agrega las claves de votación de los validadores y verifica una única firma BLS agregada contra esa clave pública agregada, una clave de votación de clave maliciosa en el conjunto de validadores puede permitir a un atacante forjar una justificación que parezca un quórum mientras solo produce una única firma. Si bien el impacto es crítico, la explotabilidad es baja: Las claves de votación están fijas para la época, por lo que el atacante necesitaría conocer el conjunto de validadores de la próxima época (elegido a través de VRF), lo cual es poco probable. El parche para esta vulnerabilidad está incluido como parte de la v1.3.0. No hay soluciones alternativas conocidas disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34068 changed 2026-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-pf4j-pf3w-95f9 changed 2026-05-05CC-BY-4.0
NVDCVE-2026-34068 changed 2026-10-26Public domain