{"id":"CVE-2025-48370","aliases":["GHSA-8r88-6cj9-9fh5"],"url":"https://o3.security/vulnerability/CVE-2025-48370","summary":"auth-js Vulnerable to Insecure Path Routing from Malformed User Input","details":"### 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","published":"2025-05-27T15:27:00.864Z","modified":"2026-08-12T03:51:15.475621032Z","cvss":null,"epss":{"score":0.00805,"percentile":0.53982,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@supabase/auth-js","fixedVersion":"2.70.0"}],"fix":{"url":"https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693","label":"supabase/auth-js@1bcb76e"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48370.json"},{"type":"ADVISORY","url":"https://github.com/supabase/auth-js/security/advisories/GHSA-8r88-6cj9-9fh5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48370"},{"type":"FIX","url":"https://github.com/supabase/auth-js/commit/1bcb76e479e51cd9bca2d7732d0bf3199e07a693"},{"type":"FIX","url":"https://github.com/supabase/auth-js/pull/1063"},{"type":"PACKAGE","url":"https://github.com/supabase/auth-js"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:15.475621032Z"}}