Insufficient verification of data authenticity in OpenZeppelin Contracts - CVE-2023-34459
Published: June 17, 2023 / Updated: November 25, 2026
Vulnerability details
The vulnerability allows a remote attacker to make a contract accept arbitrary leaves as members of a Merkle tree.
The vulnerability exists due to insufficient verification of leaf membership in the MerkleProof multiproof functions when the tree contains a zero-valued node directly below the root. A remote attacker can submit a forged multiproof for an affected tree to pass membership checks for leaves that are not in the tree.