# GHSA-wfm2-rq5g-f8v5: @account-kit/smart-contracts Allowlist Module Bypass Vulnerability

- Severity: Medium (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-04-29T15:11:41.000Z
- Modified: 2025-04-29T15:11:41.000Z
- Weaknesses: CWE-288

## Description

### Summary
Allowlist module contains a bypass vulnerability

### Details
The logic for using an allowlist on a Modular Account V2 contained a bug that allowed session keys to bypass any allowlist configuration

### Action
If you are using @aa-sdk and/or @account-kit/smart-contracts between the versions of >=4.8.0 and <4.28.1, please upgrade to 4.28.2

(As written by GitHub Advisory Database.)

## Affected

- @account-kit/smart-contracts (npm): from 4.8.0 before 4.28.2

## References

- <https://github.com/alchemyplatform/aa-sdk/security/advisories/GHSA-wfm2-rq5g-f8v5> (web)
- <https://github.com/alchemyplatform/aa-sdk/commit/b65bafdb9eec3a009df2cbabf09a35a76550e9d0> (web)
- <https://github.com/alchemyplatform/aa-sdk> (package)

## Sources

- GitHub Advisory Database: [GHSA-wfm2-rq5g-f8v5](https://github.com/advisories/GHSA-wfm2-rq5g-f8v5), CC-BY-4.0, modified 2025-04-29

---

Page: https://cve.day/GHSA-wfm2-rq5g-f8v5 · Whole record: https://cve.day/GHSA-wfm2-rq5g-f8v5.json · Rebuilt by cve.day 2026-11-25T22:56:46.834Z
