Skip to content
OpenAdvisories
Low · 2.7 CVE-2025-48370 EUVD-2025-16354GHSA-8r88-6cj9-9fh5

auth-js Vulnerable to Insecure Path Routing from Malformed User Input

Published May 27, 2025 · Updated Jul 27, 2026 · 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.

Affected products

VendorProductAffectedFixed
supabase auth-js < 2.70.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @supabase/auth-js < 2.70.0 2.70.0 GHSA-8r88-6cj9-9fh5

References