[ CVE-2026-104891 · Published 5 Oct 2026 ]
mppx-condition-gate: Free-access path grants on a self-declared wallet without proving control
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- @insumermodel/mppx-condition-gate 3.0.0Fixed version · GitHub Advisories · npm package @insumermodel/mppx-condition-gate: upgrade to 3.0.0 or later (affected <= 2.0.3)
- @insumermodel/mppx-token-gate 1.0.4Fixed version · GitHub Advisories · npm package @insumermodel/mppx-token-gate: upgrade to 1.0.4 or later (affected <= 1.0.3)
[ Packages ]Affected open-source packages
- @insumermodel/mppx-condition-gate npmAffected <= 2.0.3 · fixed in 3.0.0 · GHSA-jg6q-3qfh-r9f8
- @insumermodel/mppx-token-gate npmAffected <= 1.0.3 · fixed in 1.0.4 · GHSA-jg6q-3qfh-r9f8