CVE-2026-73829

MEDIUM CVSS 4.0: 6.3 EPSS 0.32%
Updated Nov 19, 2026
Zenhive
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions 0.2.0 — 0.6.1
Fixed In 0.6.1
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor Zenhive
Public PoC No

Time-of-check Time-of-use (TOCTOU) Race Condition in ZenHive mpp allows an unauthenticated remote client to redeem one confirmed on-chain payment for multiple paid-resource accesses. The type="hash" credential path in MPP.Methods.Tempo.verify/2 guards against replay with a non-atomic check-then-mark sequence: check_hash_unused/2 reads the dedup store, an eth_getTransactionReceipt round trip verifies the payment on chain, and only then does mark_hash_used/2 write the mark. Concurrent requests carrying the same settled payment hash all pass the read before any of them writes, so each is issued a receipt.

The store's atomic check_and_mark/2 primitive is available and used by the type="transaction" path, but the hash path calls plain get and put even when the configured store implements it. Exploitation requires a dedup store to be configured; the default nil store is stateless and documented as offering no replay protection at all. This issue affects mpp: from 0.2.0 before 0.6.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Zenhive Mpp
cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*
0.2.0 0.6.1
Zenhive Machine_Payments_Protocol
cpe:2.3:a:zenhive:machine_payments_protocol:*:*:*:*:*:elixir:*:*
0.2.0 0.6.1