{"id":"CVE-2025-48370","published":"2025-05-27T15:27:00Z","modified":"2026-07-27T18:46:14Z","title":"auth-js Vulnerable to Insecure Path Routing from Malformed User Input","vendor":"supabase","product":"auth-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00902,"percentile":0.60595,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/supabase/auth-js/pull/1063","tags":["x_refsource_MISC"]},{"url":"https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":12.12},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"supabase","affectedVersions":[{"vendor":"supabase","product":"auth-js","versions":["< 2.70.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-05-27T15:36:43.947758Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@supabase/auth-js","vulnerableRanges":["<2.70.0"],"patched":["2.70.0"],"from":["GHSA-8r88-6cj9-9fh5"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-16354","exploited":false,"provenance":"source"}}