GHSA-56r6-ccm5-8hg3: @account kit/smart contracts Alchemy Non-SMA And Webauthn Account Vulnerability

HIGH
CWE-287
Published
Advisory Summary

GHSA-56r6-ccm5-8hg3 is a HIGH alchemy non-sma and webauthn account vulnerability (CWE-287: Improper Authentication) affecting @account kit/smart contracts libraries in the npm ecosystem. The issue involves alchemy non-sma and webauthn account security advisory. Remediation is available by upgrading affected packages to version 4.52.0.

GHSA-56r6-ccm5-8hg3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-56r6-ccm5-8hg3
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product @account kit/smart contracts
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-56r6-ccm5-8hg3

To remediate this vulnerability, upgrade all affected @account kit/smart contracts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@account-kit/smart-contracts fixed: 4.52.0
npm install @account-kit/smart-contracts@4.52.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @account-kit/smart-contracts

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-56r6-ccm5-8hg3, inspect your project dependencies using npm:

npm ls @account-kit/smart-contracts

Analyze the terminal output to locate any version of @account kit/smart contracts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.52.0), your application is affected.

Note: The npm ls @account-kit/smart-contracts command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In @account kit/smart contracts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A potential security issue has been mitigated on old account deployment functions from the factory. Smart wallets in use on all existing supported networks are not impacted. ### Patches Please direct creation of new wallets to either `createSemiModularAccount` on `AccountFactory.sol` or `createWebAuthnAccount` on `WebAuthnFactory.sol`.

GHSA-56r6-ccm5-8hg3 Affected @account kit/smart contracts Versions

1 component(s)
Fixed Versions:
4.52.0
Product / Package Ecosystem Affected Versions Fixed Version
@account-kit/smart-contracts
npm
≥ 4.42.0
< 4.52.0
4.52.0

References

Frequently Asked Questions

What is GHSA-56r6-ccm5-8hg3?
GHSA-56r6-ccm5-8hg3 is a security vulnerability in @account kit/smart contracts involving Alchemy Non-SMA and Webauthn Account Security Advisory under CWE-287: Improper Authentication.
Which @account kit/smart contracts versions are affected?
Affected versions include releases prior to 4.52.0 across affected packages: @account-kit/smart-contracts.
What version fixes GHSA-56r6-ccm5-8hg3?
Upgrading to 4.52.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @account-kit/smart-contracts affected?
Yes, @account-kit/smart-contracts is affected in releases prior to 4.52.0. Upgrade your dependency to 4.52.0 or later.
What CWE is associated with GHSA-56r6-ccm5-8hg3?
GHSA-56r6-ccm5-8hg3 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check npm dependencies for GHSA-56r6-ccm5-8hg3?
Run the dependency tree command: 'npm ls @account-kit/smart-contracts'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-56r6-ccm5-8hg3",
  "modified" : "2025-07-21T14:20:40Z",
  "published" : "2025-07-21T14:20:40Z",
  "aliases" : [ ],
  "summary" : "Alchemy Non-SMA and Webauthn Account Security Advisory",
  "details" : "### Impact\nA potential security issue has been mitigated on old account deployment functions from the factory. Smart wallets in use on all existing supported networks are not impacted.\n### Patches\nPlease direct creation of new wallets to either `createSemiModularAccount` on `AccountFactory.sol` or `createWebAuthnAccount` on `WebAuthnFactory.sol`.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@account-kit/smart-contracts"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.42.0"
      }, {
        "fixed" : "4.52.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.51.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/alchemyplatform/modular-account/security/advisories/GHSA-56r6-ccm5-8hg3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alchemyplatform/aa-sdk/commit/b343437a9e4a833c25fed7bc8785a815cbbae0ee"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/alchemyplatform/modular-account/commit/2352c9b692935ba97d98619cb31ba1653eee241f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/alchemyplatform/modular-account"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-21T14:20:40Z",
    "nvd_published_at" : null
  }
}