{"affected":[{"package":{"ecosystem":"Hex","name":"mpp","purl":"pkg:hex/mpp"},"ranges":[{"events":[{"introduced":"0.2.0"},{"fixed":"0.6.0"}],"type":"SEMVER"}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.4.0"]},{"ranges":[{"events":[{"introduced":"d29d54e507918db00a5b65d90136b73166c017d7"},{"fixed":"5d6338e2334084c5f2a78cfcca474830733ed7e8"}],"repo":"https://github.com/ZenHive/mpp","type":"GIT"}]}],"aliases":["GHSA-vv77-66rf-pm86","CVE-2026-59695"],"credits":[{"name":"Kian Kai Ang","type":"FINDER"},{"name":"E.FU","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"ANALYST"}],"database_specific":{"capec_ids":["CAPEC-130"],"cpe_ids":["cpe:2.3:a:ZenHive:mpp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-1284"]},"details":"## Summary\n\nImproper Validation of Specified Quantity in Input in ZenHive mpp allows an unauthenticated remote client to drain the fee-payer wallet in a single request by naming an arbitrarily high gas price.\n\nWhen the mpp Elixir library is configured as fee payer (fee\\_payer: true), MPP.Tempo.Transaction.cosign\\_fee\\_payer/3 re-signs the client-supplied base fields of the 0x76 AASigned envelope verbatim, including max\\_fee\\_per\\_gas and max\\_priority\\_fee\\_per\\_gas, without validating that they are within reasonable bounds. A malicious client embeds arbitrarily large values for these fields in the signed envelope. The server co-signs and broadcasts the transaction. The effective\\_gas\\_price billed against the fee-payer wallet is derived from the attacker-supplied ceilings, so the server pays those inflated per-gas rates out of its own wallet. A single crafted request can drain the wallet entirely, after which the server can no longer sponsor gas for legitimate payment requests.\n\nThis issue affects mpp: from 0.2.0 before 0.6.0.\n\n## Configuration\n\nThe vulnerable code path is only reachable when the MPP.Methods.Tempo method is configured with fee\\_payer: true (server-side gas sponsorship). Default deployments with fee\\_payer: false are not affected, since the client pays for gas out of its own wallet.","id":"EEF-CVE-2026-59695","modified":"2026-07-17T10:11:43.674Z","published":"2026-07-17T10:11:43.674Z","references":[{"type":"ADVISORY","url":"https://github.com/ZenHive/mpp/security/advisories/GHSA-vv77-66rf-pm86"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-59695.html"},{"type":"FIX","url":"https://github.com/ZenHive/mpp/commit/5d6338e2334084c5f2a78cfcca474830733ed7e8"},{"type":"PACKAGE","url":"https://hex.pm/packages/mpp"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"}],"summary":"Unbounded max_fee_per_gas in mpp Tempo fee-payer enables single-request wallet drain","upstream":[]}