Session voucher adding no new funds is accepted without a charge in mpp, serving paid resources for free
cve-program · CVE-2026-89420
PublishedImproper Validation of Specified Quantity in Input in ZenHive mpp allows a client holding an open payment channel to obtain paid resources without being charged. MPP.Session.Actions.accept_voucher/3 in lib/mpp/session/actions.ex treats a voucher whose cumulativeAmount equals the channel's already-accepted cumulative amount as an idempotent success, returning the channel unchanged without calling maybe_spend/2. The credential verifies, the protected resource is served, and spent and units stay where they were. Because the server issues a fresh challenge per request and the credential replay store keys on challenge id and payload, the same signed voucher can be re-presented under every new challenge, so one paid voucher yields an unbounded number of paid units. The path is reachable from any method built on MPP.Session.Method through the Plug, MCP, JSON-RPC and WebSocket transports. This issue affects mpp: from 0.14.0 before 0.16.2.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-89420 · CVE overview and exploitation status
cve-program · CVE-2026-89420
- https://github.com/ZenHive/mpp/security/advisories/GHSA-8c63-r789-xrrf
- https://cna.erlef.org/cves/CVE-2026-89420.html
- https://osv.dev/vulnerability/EEF-CVE-2026-89420
- https://github.com/ZenHive/mpp/commit/82df569c898be1137189e3648e1edb4af6363651
- https://github.com/ZenHive/mpp/commit/7270edc1dcfb58250cc5ee812876609206564165
Related changes
Linked by CVE identifierNo related changes are available here.