CVE-2025-48370 auth-js Vulnerable to Insecure Path Routing from Malformed User Input
LowCVSS 2.7
EPSS 0.90%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| supabase @supabase/auth-js(npm) | < 2.70.0; <= 2.69.1 | 2.70.0 | Fixed |
| supabase @supabase/auth-js | = < 2.70.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| supabase @supabase/auth-js(npm) | <= 2.69.1 | No fix listed |
| supabase @supabase/auth-js | = < 2.70.0 | No fix listed |
| supabase @supabase/auth-js(npm) | < 2.70.0 | 2.70.0 |
References
- https://github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5 vendor-advisory
- https://github.com/supabase/auth-js/pull/1063 patch
- https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product