{"id":"CVE-2026-40155","published":"2026-04-17T20:54:38Z","modified":"2026-04-20T14:57:32Z","title":"Auth0 Next.js SDK has Improper Proxy Cache Lookup","vendor":"auth0","product":"nextjs-auth0","tier":"tail","description":{"text":"The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications. In versions 4.12.0 through 4.17.1, simultaneous requests that trigger a nonce retry may cause the proxy cache fetcher to perform improper lookups for the token request results. Users are affected if their project uses both the vulnerable versions and the proxy handler /me/* and /my-org/* with DPoP enabled. This issue has been fixed in version 4.18.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00223,"percentile":0.13157,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-xq8m-7c5p-c2r6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/nextjs-auth0/commit/98c36dc306970c2230ea1a32efef431d29b99978","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/nextjs-auth0/releases/tag/v4.18.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":2.63},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"nextjs-auth0","versions":[">= 4.12.0, < 4.18.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-20T14:51:32.552302Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@auth0/nextjs-auth0","vulnerableRanges":[">=4.12.0, <4.18.0"],"patched":["4.18.0"],"from":["GHSA-xq8m-7c5p-c2r6"],"provenance":"source"}],"summary":{"text":"The Auth0 Next.js SDK (nextjs-auth0) contains an improper proxy cache lookup flaw, where simultaneous requests that trigger a nonce retry can cause the proxy cache fetcher to look up token request results incorrectly. An attacker with low privileges who can send network requests to an affected application, using a race condition that requires user interaction, could read data they are not authorised to access; this applies only when the project uses the vulnerable SDK versions with the /me/* and /my-org/* proxy handlers and DPoP enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:08Z"},"euvd":{"id":"EUVD-2026-23537","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-auth0-nextjs-auth0-cve-2025-46344","parents":[{"from":"CVE-2025-48947","to":"CVE-2026-40155","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/server/auth-client.ts"],"commits":["https://github.com/auth0/nextjs-auth0/commit/12a62ca596db3b0827b39a4b865b882423e7cb1e","https://github.com/auth0/nextjs-auth0/commit/98c36dc306970c2230ea1a32efef431d29b99978"],"basis":"shared function","functions":["AuthClient"]}]}],"packageHistory":[{"cve":"CVE-2025-48947","published":"2025-06-04","fixed":"4.6.1","kev":false},{"cve":"CVE-2025-67490","published":"2025-12-10","fixed":"4.12.1","kev":false},{"cve":"CVE-2025-67716","published":"2025-12-11","fixed":"4.13.0","kev":false,"link":{"from":"CVE-2025-67716","to":"CVE-2026-40155","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@auth0/nextjs-auth0","fromFixed":"4.13.0","toFixed":"4.18.0","daysApart":127}]}},{"cve":"CVE-2026-40155","published":"2026-04-17","fixed":"4.18.0","kev":false}],"package":"npm:@auth0/nextjs-auth0"}}