{"id":"EEF-CVE-2026-73829","aliases":["CVE-2026-73829","GHSA-w8j7-7qc3-5f24"],"title":"Non-atomic hash-credential dedup in mpp Tempo allows replay of a confirmed payment under a concurrent race","titleSource":"EEF","descriptionSource":"OSV","description":"## 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.","severity":"medium","score":6.3,"published":"2026-08-19T17:19:43.696Z","modified":"2026-11-20T06:01:02.846Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"mpp","sources":[{"name":"OSV · EEF-CVE-2026-73829","url":"https://osv.dev/vulnerability/EEF-CVE-2026-73829"}],"ranges":[{"events":[{"introduced":"0.2.0"},{"fixed":"0.6.1"}],"type":"SEMVER"}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.4.0","0.6.0"],"fixed":["0.6.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"f8904666061fbab695874856d8fcd02c471dfe1b"},{"fixed":"46c5b0e1311da7d92190dc7d9ea89027a1d365e9"}],"type":"GIT","repo":"https://github.com/ZenHive/mpp"}],"versions":["v0.6.0","v0.5.1","v0.4.0","v0.3.0","v0.2.0"]}],"references":["https://github.com/ZenHive/mpp/security/advisories/GHSA-w8j7-7qc3-5f24","https://cna.erlef.org/cves/CVE-2026-73829.html","https://osv.dev/vulnerability/EEF-CVE-2026-73829","https://github.com/ZenHive/mpp/commit/f8904666061fbab695874856d8fcd02c471dfe1b","https://github.com/ZenHive/mpp/commit/46c5b0e1311da7d92190dc7d9ea89027a1d365e9","https://hex.pm/packages/mpp"],"sources":[{"name":"CVE","id":"CVE-2026-73829","modified":"2026-11-19T08:44:06.136Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-73829"},{"name":"OSV","id":"EEF-CVE-2026-73829","modified":"2026-11-20T06:01:02.846666574Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-73829"}],"assessments":[{"source":"EEF","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},{"source":"OSV","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}],"cve":{"records":[{"id":"CVE-2026-73829","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-17T11:15:02.320Z","published":"2026-08-19T17:19:43.696Z","modified":"2026-11-19T08:44:06.136Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:44:06.136Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-08-19T18:58:33.322Z"}],"references":[{"url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-w8j7-7qc3-5f24","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-73829.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-73829","tags":["related"],"source":"EEF"},{"url":"https://github.com/ZenHive/mpp/commit/f8904666061fbab695874856d8fcd02c471dfe1b","tags":["related"],"source":"EEF"},{"url":"https://github.com/ZenHive/mpp/commit/46c5b0e1311da7d92190dc7d9ea89027a1d365e9","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*","versionEndExcluding":"0.6.1","versionStartIncluding":"0.2.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-08-19T18:55:14.304500Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ZenHive","name":"mpp","platforms":[],"versions":[{"version":"0.2.0","status":"affected","lessThan":"0.6.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/mpp","packageIdentity":{"ecosystem":"Hex","name":"mpp"},"cpes":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-73829"},{"vendor":"ZenHive","name":"mpp","platforms":[],"versions":[{"version":"f8904666061fbab695874856d8fcd02c471dfe1b","status":"affected","lessThan":"46c5b0e1311da7d92190dc7d9ea89027a1d365e9","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/zenhive/mpp","cpes":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-73829"}],"remediation":[],"observedAt":"2026-11-20T07:22:56.722Z","kev":{"status":"not-listed","checkedAt":"2026-11-23T12:45:31.266Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-20T08:20:34.623Z","attemptedAt":"2026-11-20T08:20:34.623Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-20T08:20:34.810Z","attemptedAt":"2026-11-20T08:20:34.810Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-20T08:15:33.027Z","attemptedAt":"2026-11-20T08:15:33.027Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-20T08:15:33.904Z","attemptedAt":"2026-11-20T08:15:33.904Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-62591","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-62591","modified":"Nov 19, 2026, 8:44:06 AM","score":6.3,"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","checkedAt":"2026-11-20T08:15:33.027Z"},{"source":"FIRST EPSS","id":"CVE-2026-73829","url":"https://www.first.org/epss/","probability":0.00404,"percentile":0.35433,"date":"2026-11-19","checkedAt":"2026-11-20T08:15:33.904Z"},{"source":"NVD","id":"CVE-2026-73829","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73829","modified":"2026-11-19T09:17:55.370","score":6.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-20T08:20:34.623Z"},{"source":"NVD","id":"CVE-2026-73829","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73829","modified":"2026-11-19T09:17:55.370","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","checkedAt":"2026-11-20T08:20:34.623Z"},{"source":"GitHub Advisory Database","id":"GHSA-vjfr-ffhr-5g8p","url":"https://github.com/advisories/GHSA-vjfr-ffhr-5g8p","modified":"2026-11-19T09:31:33Z","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","checkedAt":"2026-11-20T08:20:34.810Z"}],"aiSummary":null}