CVE-2025-48370supabase auth-js
Low 2.7 No auth needed
Follow: this CVE · supabase · supabase auth-js We alert you by email or Slack (account required).
- Priority
- 31
- CVSS 4.0
- 2.7
- EPSS
- —
- Auth required
- No
- Published
- May 27, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
auth-js is an isomorphic Javascript library for Supabase Auth. Prior to version 2.70.0, the library functions getUserById, deleteUser, updateUserById, listFactors and deleteFactor did not require the user supplied values to be valid UUIDs. This could lead to a URL path traversal, resulting in the wrong API function being called. Implementations that follow security best practice and validate user controlled inputs, such as the userId are not affected by this. This issue has been patched in version 2.70.0.
What to do
- Apply the vendor's security update for auth-js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @supabase/auth-js |
< 2.70.0 |
2.70.0 |
npm install @supabase/auth-js@2.70.0 |
Per OSV / GitHub Advisories (GHSA-8r88-6cj9-9fh5). Check the version in your lockfile before upgrading.
Affected products
- supabase · auth-js
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.