Read the docs
TI-2026-67320 Aliases GHSA-vv77-66rf-pm86

mpp vulnerable to Gas Draining with no limit

Priority LOW 38CWE-20Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### 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`](https://hex.pm/packages/mpp/0.4.0) 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: ```bash 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.

Why it matters now

Fix Fixed mpp (Hex): 0.6.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mpp (Hex)0.2.0 to before 0.6.00.6.0Patch availableGHSA-vv77-66rf-pm86
  • mpp (Hex) Vendor— Affected 0.2.0 to before 0.6.0 Fixed in 0.6.0 Patch available GHSA-vv77-66rf-pm86

Remediation

  • Fix · GHSA-vv77-66rf-pm86 mpp (Hex) Fixed in 0.6.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-vv77-66rf-pm86

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences