6.3medium
Non-atomic hash-credential dedup in mpp Tempo allows replay of a confirmed payment under a concurrent race
- Severity
- 6.3medium CVSS:4.0 by EEF
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- EEF-CVE-2026-73829GHSA-w8j7-7qc3-5f24
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mpp | from 0.2.0 before 0.6.1 | CVE List |
| zenhive/mpp | from f8904666061fbab695874856d8fcd02c471dfe1b before 46c5b0e1311da7d92190dc7d9ea89027a1d365e9 | CVE List |
| mpp (Hex) | from 0.2.0 before 0.6.1 | Erlang Ecosystem Foundation |
| https://github.com/ZenHive/mpp | from f8904666061fbab695874856d8fcd02c471dfe1b before 46c5b0e1311da7d92190dc7d9ea89027a1d365e9 | Erlang Ecosystem Foundation |
| zenhive machine_payments_protocol | from 0.2.0 before 0.6.1 | NVD |
All scores
| EEF | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
Erlang Ecosystem Foundation
Summary
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.
Configurations
The race is only reachable when MPP.Methods.Tempo is configured with a dedup store ("store" in method_config). The default is nil, which runs the library statelessly and provides no application-level replay protection at all, a documented property rather than part of this issue.
References
| https://github.com/ZenHive/mpp/security/advisories/GHSA-w8j7-7qc3-5f24 | advisory, related, vendor-advisory | |
| https://cna.erlef.org/cves/CVE-2026-73829.html | related, third-party-advisory, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-73829 | related, third-party-advisory | |
| https://github.com/ZenHive/mpp/commit/f8904666061fbab695874856d8fcd02c471dfe1b | related, web | |
| https://github.com/ZenHive/mpp/commit/46c5b0e1311da7d92190dc7d9ea89027a1d365e9 | fix, patch | |
| https://hex.pm/packages/mpp | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73829 changed 2026-11-19 | CVE Terms of Use |
| Erlang Ecosystem Foundation | EEF-CVE-2026-73829 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-73829 changed 2026-11-19 | Public domain |