# CVE-2025-48370: auth-js Vulnerable to Insecure Path Routing from Malformed User Input

- Severity: Low 2.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2025-05-27T15:27:00.864Z
- Modified: 2026-07-27T18:46:14.582Z
- Also known as: GHSA-8r88-6cj9-9fh5
- Weaknesses: CWE-22, CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- supabase auth-js: < 2.70.0
- @supabase/auth-js (npm): before 2.70.0

## Every score

- GitHub_M: CVSS:4.0 2.7 Low `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`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5> (web)
- <https://github.com/supabase/auth-js/pull/1063> (web)
- <https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48370> (advisory)
- <https://github.com/supabase/auth-js> (package)

## Sources

- CVE List: [CVE-2025-48370](https://www.cve.org/CVERecord?id=CVE-2025-48370), CVE Terms of Use, modified 2026-07-27
- GitHub Advisory Database: [GHSA-8r88-6cj9-9fh5](https://github.com/advisories/GHSA-8r88-6cj9-9fh5), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2025-48370](https://nvd.nist.gov/vuln/detail/CVE-2025-48370), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48370 · Whole record: https://cve.day/CVE-2025-48370.json · Rebuilt by cve.day 2026-11-25T22:58:58.516Z
