Improper Authentication Affecting @account-kit/smart-contracts package, versions >=4.42.0 <4.52.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ACCOUNTKITSMARTCONTRACTS-10878171
  • published23 Jul 2025
  • disclosed21 Jul 2025
  • creditcarlos-cow

Introduced: 21 Jul 2025

New CVE NOT AVAILABLE CWE-287  (opens in a new tab)

How to fix?

Upgrade @account-kit/smart-contracts to version 4.52.0 or higher.

Overview

@account-kit/smart-contracts is an aa-sdk compatible interfaces for Alchemy Smart Accounts

Affected versions of this package are vulnerable to Improper Authentication via the function createModularAccountV2 in the ma-v2/account/modularAccountV2.ts file. An attacker can gain unauthorized access by exploiting insufficient authentication checks during the creation of new accounts from the factory.

References

CVSS Base Scores

version 4.0
version 3.1