{"id":"CVE-2026-73829","aliases":["CVE-2026-73829","EEF-CVE-2026-73829","GHSA-w8j7-7qc3-5f24"],"related":[],"kind":"vulnerability","state":"published","title":"Non-atomic hash-credential dedup in mpp Tempo allows replay of a confirmed payment under a concurrent race","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.\n\nThe 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.\n\nThis issue affects mpp: from 0.2.0 before 0.6.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThe 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.\n\nThis issue affects mpp: from 0.2.0 before 0.6.1.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nTime-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.\n\nThe `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.\n\nThis issue affects mpp: from 0.2.0 before 0.6.1.\n\n## Configurations\n\nThe 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.","format":"markdown","source":"eef"}],"published":"2026-08-19T17:19:43.696Z","modified":"2026-11-25T06:31:01.007Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-367"],"affected":[{"ranges":[{"type":"semver","introduced":"0.2.0","fixed":"0.6.1","status":"affected"}],"vendor":"ZenHive","product":"mpp","package":"mpp","cpe":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","repo":"https://github.com/ZenHive/mpp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"f8904666061fbab695874856d8fcd02c471dfe1b","fixed":"46c5b0e1311da7d92190dc7d9ea89027a1d365e9","status":"affected"}],"vendor":"ZenHive","product":"mpp","package":"zenhive/mpp","cpe":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","repo":"https://github.com/ZenHive/mpp","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.2.0","status":"affected","fixed":"0.6.1"}],"ecosystem":"Hex","package":"mpp","purl":"pkg:hex/mpp","source":"eef"},{"ranges":[{"type":"git","introduced":"f8904666061fbab695874856d8fcd02c471dfe1b","status":"affected","fixed":"46c5b0e1311da7d92190dc7d9ea89027a1d365e9"}],"repo":"https://github.com/ZenHive/mpp","source":"eef"},{"ranges":[{"status":"affected","introduced":"0.2.0","fixed":"0.6.1"}],"vendor":"zenhive","product":"machine_payments_protocol","cpe":"cpe:2.3:a:zenhive:machine_payments_protocol:*:*:*:*:*:elixir:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-w8j7-7qc3-5f24","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-73829.html","tags":["related","third-party-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-73829","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ZenHive/mpp/commit/f8904666061fbab695874856d8fcd02c471dfe1b","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ZenHive/mpp/commit/46c5b0e1311da7d92190dc7d9ea89027a1d365e9","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/mpp","tags":["package"],"sources":["eef"]}],"credits":["E.FU","Jonatan Männchen / EEF"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-19T18:55:14.304Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73829","url":"https://www.cve.org/CVERecord?id=CVE-2026-73829","licence":"CVE Terms of Use","modified":"2026-11-19T08:44:06.136Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-73829","url":"https://osv.dev/vulnerability/EEF-CVE-2026-73829","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:01.007Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73829","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73829","licence":"Public domain","modified":"2026-11-19T09:17:55.370Z"}],"updatedAt":"2026-11-25T22:59:34.002Z","epss":{"score":0.00192,"percentile":0.09303,"date":"2026-12-01T12:00:22.000Z"}}