CVE-2026-34068: nimiq-transaction UpdateValidator Transactions Allows Voting Key Vulnerability
MODERATECVE-2026-34068 is a MODERATE (CVSS 6.8) updatevalidator transactions allows voting key vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting nimiq-transaction libraries in the crates.io ecosystem. The issue involves updatevalidator transactions allows voting key change without proof-of-knowledge. Remediation is available in the latest vendor maintenance releases.
CVE-2026-34068 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N).
How to Fix CVE-2026-34068
To remediate this vulnerability, upgrade all affected nimiq-transaction dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade nimiq-transaction to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for nimiq-transaction
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-34068, inspect your project dependencies for nimiq-transaction:
inspect dependencies for nimiq-transaction
Analyze the terminal output to locate any version of nimiq-transaction in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In nimiq-transaction, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-34068 Affected nimiq-transaction Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nimiq-transaction
|
crates.io |
≤ 0.2.0
|
|
References
Frequently Asked Questions
What is CVE-2026-34068?
Which nimiq-transaction versions are affected?
What version fixes CVE-2026-34068?
Is nimiq-transaction affected?
What is the CVSS score of CVE-2026-34068?
What CWE is associated with CVE-2026-34068?
How can I check crates.io dependencies for CVE-2026-34068?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pf4j-pf3w-95f9",
"modified" : "2026-04-27T16:22:49Z",
"published" : "2026-04-22T19:22:53Z",
"aliases" : [ "CVE-2026-34068" ],
"summary" : "nimiq-transaction: UpdateValidator transactions allows voting key change without proof-of-knowledge",
"details" : "### Impact\nThe 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.\n\nBecause 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.\n\nWhile 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.\n\n### Patches\n[The patch for this vulnerability](https://github.com/nimiq/core-rs-albatross/commit/e7f0ab7d2115e17d6e5548ddc60f10df1a5d645f) is included as part of [v1.3.0](https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0).\n\n### Workarounds\nNo known workarounds.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "nimiq-transaction"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/security/advisories/GHSA-pf4j-pf3w-95f9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34068"
}, {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/pull/3654"
}, {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/commit/e7f0ab7d2115e17d6e5548ddc60f10df1a5d645f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nimiq/core-rs-albatross"
}, {
"type" : "WEB",
"url" : "https://github.com/nimiq/core-rs-albatross/releases/tag/v1.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-22T19:22:53Z",
"nvd_published_at" : "2026-04-22T21:17:08Z"
}
}