CWE-1284Weakness · CWE-1284

CVE-2026-59695

HIGH · 8.3 CVSS v4.0 Published 2026-07-17
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
92/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The cosign_fee_payer/3 function in the mpp Elixir library re-signs client-supplied max_fee_per_gas and max_priority_fee_per_gas fields from 0x76 AASigned envelopes without validating they are within reasonable bounds. An unauthenticated attacker can embed arbitrarily high gas price ceilings, causing the fee-payer wallet to pay inflated gas costs and potentially drain entirely in a single transaction.

MitigationImplement validation of max_fee_per_gas and max_priority_fee_per_gas against configurable maximum thresholds before co-signing any fee-payer transaction.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
Authentication
X
User interaction
None
Scope
X

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate the ZenHive mpp library in your project dependencies
    Inspect your mix.exs file or run `mix deps` to list all dependencies and look for ZenHive mpp or related packages
    Affected if ZenHive mpp library is present in dependencies
  2. Find usages of the cosign_fee_payer/3 function
    Search your codebase for calls to `cosign_fee_payer` - check for patterns like `ZenHive.mpp.cosign_fee_payer/3` or similar module.function/arity references
    Affected if cosign_fee_payer/3 is called in your codebase
  3. Identify if fee payer configuration is enabled
    Search your configuration files (config/*.exs) for settings related to fee payer, cosigner, or gas sponsorship - look for keys like `:fee_payer`, `:cosigner`, or `:sponsor`
    Affected if Fee payer configuration is present and active in your environment
  4. Inspect gas parameter validation in cosign_fee_payer/3 calls
    Examine the code where cosign_fee_payer/3 is called - look for any bounds checking, validation, or limits applied to `max_fee_per_gas` or `max_priority_fee_per_gas` arguments before they are passed to the function
    Affected if Gas parameters are passed directly to cosign_fee_payer/3 without any upper bounds validation
  5. Check for 0x76 AASigned envelope handling
    Search your codebase for handling of 0x76 signed transactions or AASigned envelopes - look for transaction parsing or validation logic that processes these envelopes
    Affected if Your application processes 0x76 AASigned envelopes and forwards them to cosign_fee_payer without validation

You are affected if ZenHive mpp library with cosign_fee_payer/3 is in use, fee payer is enabled, and gas parameters from 0x76 envelopes are passed without bounds validation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Implement validation of max_fee_per_gas and max_priority_fee_per_gas against configurable maximum thresholds before co-signing any fee-payer transaction.

Recommended fix High confidence

mpp version 0.6.0 or later

  1. Identify all deployments running mpp Elixir library versions 0.2.0 through 0.5.x
  2. Backup all configuration and data associated with the ZenHive mpp deployment
  3. Locate the dependency specification (mix.exs or mix.lock) and update the mpp dependency to version 0.6.0 or later
  4. Run mix deps.update mpp to fetch the fixed version
  5. Review the application's transaction handling to ensure the new validation is properly integrated
  6. Redeploy the updated application to all affected environments
  7. Verify that max_fee_per_gas and max_priority_fee_per_gas are now validated within reasonable bounds before co-signing
  8. Test the fee-payer functionality with normal and edge-case gas price values to confirm the fix works
Caveat Review the mpp 0.6.0 release notes for any API changes or breaking changes to the cosign_fee_payer function signature

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the patch applied

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-59695 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-59695 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data