CVE-2026-34068 PUBLISHED

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

Assigner: GitHub_M
Reserved: 25.03.2026 Published: 22.04.2026 Updated: 22.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
CVSS Score: 6.8

Product Status

Vendor nimiq
Product nimiq-transaction
Versions
  • Version < 1.3.0 is affected

References

Problem Types

  • CWE-347: Improper Verification of Cryptographic Signature CWE