CVE-2026-104891
Description
mppx-condition-gate provides conditional free-access wrappers for mppx payment methods. Prior to @insumermodel/mppx-condition-gate 3.0.0 and @insumermodel/mppx-token-gate 1.0.4, the packages read a wallet address from the client-supplied credential.source, checked whether that public address met configured on-chain conditions, and returned a successful free-access receipt without invoking the wrapped payment verifier or proving that the caller controlled the wallet. An unauthenticated attacker could name any qualifying wallet and obtain content that should require payment, and cached grants could be reused for the configured cache lifetime. The corrected packages prevent free-access authorization unless payer control has been established. These issues are fixed in @insumermodel/mppx-condition-gate 3.0.0 and @insumermodel/mppx-token-gate 1.0.4.
How to fix
- @insumermodel/mppx-condition-gate3.0.0 or later
- @insumermodel/mppx-token-gate1.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @insumermodel/mppx-condition-gatenpm | v < 3.0.0 | 3.0.0 |
| @insumermodel/mppx-token-gatenpm | v < 1.0.4 | 1.0.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.