Sep 26, 2026·5 min read·13 visits
Unvalidated transaction gas parameters in the `mpp` library allow remote attackers to drain the server's wallet funds via sponsored transaction fee exploitation.
A critical-severity input validation vulnerability in the Elixir multi-party payment library `mpp` allows unauthenticated remote attackers to exhaust the transaction fee payer's wallet balance. By submitting a crafted Ethereum transaction envelope with artificially inflated gas parameters, an attacker can force the server to co-sign and commit to pay exorbitant fees, leading to severe financial loss and Denial of Service.
The Elixir package mpp provides Multi-Party Payment handling and transaction protocol capabilities. When acting as a sponsored transaction gateway, the service acts as a fee payer, co-signing client transactions and broadcasting them to the Ethereum network.
Under this model, the service operator commits to covering the gas costs associated with user transactions, facilitating frictionless interactions for end-users. However, this architectural design exposes a significant attack surface if input verification is solely limited to checking the transaction destination and cryptographic signature.
Prior to version 0.6.0, the mpp library failed to evaluate the gas economics metrics of incoming transaction envelopes before initiating the co-signing process. This lack of checking constitutes a severe input validation flaw, categorizable under CWE-20.
The root cause of the vulnerability lies in the implementation of the cosign_fee_payer/3 function inside lib/mpp/methods/tempo.ex. The function verified that the transaction parameters matched an expected destination address and call data scope (the allowed interactions), but it performed no evaluation on the gas parameters encoded in the RLP envelope.
Specifically, the RLP indices corresponding to gas_limit, max_fee_per_gas, max_priority_fee_per_gas, and the access_list were processed and signed without any bounding checks. In EVM-compatible networks, the final cost of a transaction is determined by the actual gas consumed multiplied by the effective gas price, bounded by the parameters defined in the transaction envelope.
Because the library did not enforce a maximum ceiling on these fields, a client could provide a signed 0x76 envelope with extremely large values. When the server signed the envelope as the fee payer, it legally committed its wallet to paying those fees upon block execution, allowing the transaction to be mined at an inflated rate.
The vulnerability was resolved by introducing a validation layer before the cryptographic signing phase. The updated pipeline in lib/mpp/methods/tempo.ex incorporates a call to maybe_validate_fee_payer_economics/3.
# In lib/mpp/methods/tempo.ex
# Validation step added prior to co-signing
defp maybe_validate_fee_payer_economics(tx, %{"fee_payer" => true} = config, chain_id) do
policy = FeePayerPolicy.resolve(chain_id, config["fee_payer_policy"])
FeePayerPolicy.validate(tx, policy)
end
defp maybe_validate_fee_payer_economics(_tx, _config, _chain_id), do: :okThe validation is executed by the newly added MPP.Methods.Tempo.FeePayerPolicy module. This module defines maximum bounds and performs a series of safety checks on the raw RLP-decoded elements. The critical fields checked include:
gas_limit (checked against max_gas limit)max_fee_per_gas (checked against max_fee_per_gas limit)gas_limit * max_fee_per_gas must not exceed max_total_fee (defaulting to 0.05 ETH).# In lib/mpp/methods/tempo/fee_payer_policy.ex
def validate(%Transaction{} = tx, %__MODULE__{} = policy, now) when is_integer(now) do
with {:ok, gas_limit} <- field_int(tx, @gas_limit_index, "gas_limit"),
{:ok, max_fee} <- field_int(tx, @max_fee_index, "max_fee_per_gas"),
{:ok, max_priority} <- field_int(tx, @max_priority_fee_index, "max_priority_fee_per_gas"),
:ok <- check_gas(gas_limit, policy),
:ok <- check_max_fee(max_fee, policy),
:ok <- check_total_fee(gas_limit, max_fee, policy),
:ok <- check_priority(max_priority, max_fee, policy),
:ok <- check_nonce_key(tx),
:ok <- check_validity_window(tx, policy, now) do
check_access_list(tx)
end
endAdditionally, the patch enforces that the access_list must be empty, removing the potential for payload padding, and implements strict validity time-windows to prevent replay or delayed broadcast attacks.
An attacker can exploit this vulnerability by executing a series of precise on-chain and off-chain steps. First, they construct a valid transaction envelope of type 0x76 containing a legitimate call to a supported contract.
Next, the attacker modifies the transaction's RLP-encoded gas parameters. They set the max_fee_per_gas and max_priority_fee_per_gas to artificially high levels (such as 100 Gwei or even multiple Ether per gas unit), or append a massive, redundant list of addresses to the access_list structure.
When this payload is submitted to the target server's API, the server validates the call destination but ignores the gas parameters. The server then signs the transaction envelope and broadcasts it. Upon inclusion in a block, the network deducts the inflated transaction fees directly from the server's co-signing wallet, resulting in an immediate and irreversible loss of native tokens.
The primary impact of this vulnerability is severe financial loss. Because transactions on EVM-compatible public networks are irreversible, funds transferred to block proposers and validators as transaction fees cannot be recovered.
Furthermore, the exploitation path requires no authentication or specific preconditions, representing a low-barrier, high-impact vector. Once the server's wallet balance is depleted below the minimum gas threshold, the service can no longer sponsor legitimate user transactions, leading to a permanent and complete Denial of Service (DoS) for all clients.
The CVSS v4 score is calculated as 8.8 (High) due to the combination of low attack complexity, network accessibility, no required privileges, and high integrity and availability impacts.
The recommended remediation is to immediately upgrade the mpp dependency in the Elixir application's mix.exs configuration to version 0.6.0 or higher.
# Update your mix.exs dependencies
defp deps do
[
{:mpp, "~> 0.6.0"}
]
endIf upgrading is not immediately feasible, operators must implement manual validation of the incoming transaction envelopes. Specifically, before passing a client-provided binary to cosign_fee_payer/3, decode the envelope and ensure the gas limit and gas price parameters fall within safe, hardcoded operational limits.
Additionally, implementing rate limiting on the transaction submission endpoints and closely monitoring the native balance of the fee-paying wallet will help reduce the window of exposure and minimize potential financial damages.
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| Product | Affected Versions | Fixed Version |
|---|---|---|
mpp ZenHive | >= 0.2.0, < 0.6.0 | 0.6.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-20 |
| Attack Vector | Network |
| CVSS Score | 8.8 |
| Exploit Status | poc |
| KEV Status | Not listed |
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and securely.
CVE-2026-48749 (tracked as GHSA-vghh-5rfx-xhq8 for LXD and GHSA-2q3f-q5pq-g8wv for Incus) is a critical container escape vulnerability in the Canonical LXD and Linux Containers Incus system container managers. By importing a specially crafted container image archive containing duplicate tar member headers, an authenticated attacker can replace the instance rootfs directory with a symbolic link pointing to the underlying host root filesystem. When performing file operations on a stopped container, the privileged forkfile helper binary resolves the symbolic link without confinement and chroots directly into the host filesystem, granting arbitrary root-level file read and write access.
GHSA-fmc8-p6q7-75cc (associated with CVE-2026-48755) is a critical argument injection vulnerability in Canonical LXD (github.com/canonical/lxd). The vulnerability occurs during instance and storage volume backup operations when processing the user-supplied compression_algorithm configuration parameter. While LXD validates the primary executable token against an allowlist of supported compression binaries, it fails to sanitize or restrict subsequent tokens parsed via shellquote.Split. These additional arguments are passed directly to exec.Command. An authenticated attacker with privileges to trigger backups can inject command-line flags for utilities like zstd to read staged files from a container filesystem and write them to arbitrary paths on the underlying host filesystem, such as /etc/cron.d/, achieving root-level arbitrary code execution on the host.
A critical path traversal vulnerability caused by improper input validation (CWE-20) exists in the direct image download handler of Canonical LXD and Linux Containers Incus. When an authenticated user requests an image import using the URL source type, the daemon reads the image fingerprint from an untrusted HTTP response header (`Incus-Image-Hash` or `LXD-Image-Hash`) without validating that it conforms to a SHA-256 format. This unvalidated string is concatenated directly into a filesystem path via `filepath.Join` prior to file creation and cryptographic verification, allowing directory traversal sequences to write arbitrary files on the host filesystem as root.
CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.
An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.
GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.