CVE-2025-48370
LOW 2.7CVSS 4.0auth-js Vulnerable to Insecure Path Routing from Malformed User Input
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.
- Published
- 27 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-8r88-6cj9-9fh5
- Sources
- NVDJSONOSV GHSA-8r88-6cj9-9fh5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @supabase/auth-js | < 2.70.0 | 2.70.0 |
References
- https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693 · WEB
- https://github.com/supabase/auth-js/pull/1063 · WEB
- https://github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-48370 · ADVISORY
- https://github.com/supabase/auth-js · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 27 May 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 May 2025)