Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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