8.3high
Unbounded max_fee_per_gas in mpp Tempo fee-payer enables single-request wallet drain
- Severity
- 8.3high CVSS:4.0 by EEF
- Exploit likelihood
- 0.38% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- GHSA-vv77-66rf-pm86EEF-CVE-2026-59695
Description
Improper 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. When 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. This issue affects mpp: from 0.2.0 before 0.6.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mpp | from 0.2.0 before 0.6.0 | CVE List |
| zenhive/mpp | from d29d54e507918db00a5b65d90136b73166c017d7 before 5d6338e2334084c5f2a78cfcca474830733ed7e8 | CVE List |
| mpp (Hex) | from 0.2.0 before 0.6.0 | GitHub Advisory Database, Erlang Ecosystem Foundation |
| https://github.com/ZenHive/mpp | from d29d54e507918db00a5b65d90136b73166c017d7 before 5d6338e2334084c5f2a78cfcca474830733ed7e8 | Erlang Ecosystem Foundation |
All scores
| EEF | 8.3high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/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:H/VA:H/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
Improper 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. When 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. This issue affects mpp: from 0.2.0 before 0.6.0.
GitHub Advisory Database
Details
When the server acts as the fee_payer, the mpp Elixir 0.4.0 does not validate gas_limit, max_fee_per_gas and max_priority_fee_per_gas before cosigning the client's fee-payer transaction. A malicious client embeds arbitrarily large max_fee_per_gas and max_priority_fee_per_gas values in the signed envelope. The server cosigns and broadcasts — paying those inflated gas costs from its own wallet based on the effective_gas_price calculated from the high max_fee_per_gas and max_priority_fee_per_gas set by the client.
Vulnerable function: cosign_fee_payer/3 in transaction.ex around lines 229–262.
PoC
The PoC is provided below. It is configured to reproduce the attack on Tempo Moderate testnet within a Docker environment. Download the PoC and run:
unzip mpp_elixir_PoC.zip
cd mpp_elixir
docker build -t mpp-elixir-gasdrain .
docker run --rm mpp-elixir-gasdrain
There are more details in mpp_elixir/README.md
Impact
By draining the server's wallet, an attacker causes direct financial loss to the organization. Furthermore, if the server's funds are drained completely, legitimate clients will have their requests fail, as the server can no longer fund future transactions, effectively creating a Denial of Service (DoS) attack.
Erlang Ecosystem Foundation
Summary
Improper 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.
When 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.
This issue affects mpp: from 0.2.0 before 0.6.0.
Configurations
The 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.
NVD (es)
Validación Incorrecta de Cantidad Especificada en la Entrada en ZenHive mpp permite a un cliente remoto no autenticado vaciar la billetera del pagador de tarifas en una sola solicitud al nombrar un precio de gas arbitrariamente alto. Cuando la biblioteca mpp Elixir está configurada como pagador de tarifas (fee_payer: true), MPP.Tempo.Transaction.cosign_fee_payer/3 vuelve a firmar los campos base proporcionados por el cliente del sobre 0x76 AASigned textualmente, incluyendo max_fee_per_gas y max_priority_fee_per_gas, sin validar que estén dentro de límites razonables. Un cliente malicioso incrusta valores arbitrariamente grandes para estos campos en el sobre firmado. El servidor co-firma y transmite la transacción. El effective_gas_price facturado a la billetera del pagador de tarifas se deriva de los techos proporcionados por el atacante, por lo que el servidor paga esas tarifas por gas infladas de su propia billetera. Una única solicitud manipulada puede vaciar la billetera por completo, después de lo cual el servidor ya no puede patrocinar gas para solicitudes de pago legítimas. Este problema afecta a mpp: desde 0.2.0 antes de 0.6.0.
References
| https://github.com/ZenHive/mpp/security/advisories/GHSA-vv77-66rf-pm86 | advisory, exploit, related, vendor-advisory, web | |
| https://cna.erlef.org/cves/CVE-2026-59695.html | related, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-59695 | related | |
| https://github.com/ZenHive/mpp/commit/d29d54e507918db00a5b65d90136b73166c017d7 | related, web | |
| https://github.com/ZenHive/mpp/commit/5d6338e2334084c5f2a78cfcca474830733ed7e8 | fix, patch, web | |
| https://github.com/ZenHive/mpp | package | |
| https://github.com/ZenHive/mpp/releases/tag/v0.6.0 | web | |
| https://hex.pm/packages/mpp | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59695 changed 2026-11-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vv77-66rf-pm86 changed 2026-09-25 | CC-BY-4.0 |
| Erlang Ecosystem Foundation | EEF-CVE-2026-59695 changed 2026-11-26 | CC-BY-4.0 |
| NVD | CVE-2026-59695 changed 2026-11-24 | Public domain |