{"id":"GHSA-8r88-6cj9-9fh5","revision":"750e59139a74478ca33fa030d365651c","records":[{"revision":"750e59139a74478ca33fa030d365651c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-8r88-6cj9-9fh5","aliases":["CVE-2025-48370"],"title":"auth-js Vulnerable to Insecure Path Routing from Malformed User Input","description":"### Impact\nThe 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.\n\nImplementations that follow security best practice and validate user controlled inputs, such as the `userId` are not affected by this.\n\n### Patches\nStrict value checks have been added to all affected functions. These functions now require that the `userId` and `factorId` parameters MUST be valid UUID (v4).\n\n**Patched version:** >= 2.69.1\n\n### Workarounds\nImplementations that follow security best practice and validate user controlled inputs, such as the `userId` are not affected by this. It is recommended that users of the auth-js library always follow security best practice and validate all inputs, before passing these to other functions or libraries.\n\n### References\nhttps://github.com/supabase/auth-js/pull/1063","state":0,"publishedAt":"2025-05-27T18:00:17+00:00","modifiedAt":"2026-05-05T18:18:39.323414+00:00","affected":[{"ecosystem":"npm","name":"@supabase/auth-js","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.70.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5","https://nvd.nist.gov/vuln/detail/CVE-2025-48370","https://github.com/supabase/auth-js/pull/1063","https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693","https://github.com/supabase/auth-js"],"sourceUrl":"https://github.com/advisories/GHSA-8r88-6cj9-9fh5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8r88-6cj9-9fh5","identifiers":["GHSA-8r88-6cj9-9fh5","CVE-2025-48370"]},"retained":false,"historicalAffected":[]}],"coverage":[]}