CVE-2025-48370 Details
Description
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.
A vulnerability in the Supabase Auth JavaScript library, prior to version 2.69.1, allowed certain functions to accept user-supplied values that were not valid UUIDs. This lack of validation could cause a URL path traversal, leading to the incorrect API function being executed. The affected functions include 'getUserById', 'deleteUser', 'updateUserById', 'listFactors', and 'deleteFactor'. However, implementations that properly validate user inputs, such as user IDs, are not vulnerable.
Users of the Supabase Auth-js library should update to version 2.69.1 or later. It is also recommended to validate all user inputs before passing them to functions or libraries.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2025CISA-ADP
Assessed May 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Supabase auth-js | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 27, 2026 | CVE Modified | [email protected] |
| May 27, 2025 | New CVE Received | [email protected] |
Volerion