Home

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.

PUBLISHED Reserved 2025-05-19 | Published 2025-05-27 | Updated 2026-04-27 | Assigner GitHub_M




LOW: 2.7CVSS: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

Problem types

CWE-287: Improper Authentication

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 2.70.0
affected

References

github.com/...uth-js/security/advisories/GHSA-8r88-6cj9-9fh5

github.com/supabase/auth-js/pull/1063

github.com/...ommit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693

cve.org (CVE-2025-48370)

nvd.nist.gov (CVE-2025-48370)

Download JSON