<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 18:45:34 +0000</lastBuildDate>
    <item>
      <title>GHSA-xmf8-cvqr-rfgj — Auth.js: getToken() throws an uncaught exception on malformed Bearer authorization headers</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-xmf8-cvqr-rfgj</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @auth/core, npm: next-auth&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The exported `getToken()` helper (`next-auth/jwt` and `@auth/core/jwt`) can throw an uncaught exception when it reads a malformed `Authorization: Bearer …` header. When no session cookie is present, `getToken()` URL-decodes the bearer value before validating it, and malformed percent-encoding causes the decode step to throw rather than being treated as an invalid token. Because `getToken()` is commonly called in API routes, middleware, and other request handlers, a single unauthenticated request can trigger an unhandled exception in code paths that authenticate requests.&lt;/p&gt;
&lt;p&gt;## Am I affected?&lt;/p&gt;
&lt;p&gt;You are affected if **all** of the following hold:&lt;/p&gt;
&lt;p&gt;- You use `next-auth` `&amp;lt;= 5.0.0-beta.25` (or `@auth/core` exposing the same `getToken()` implementation).
- Your application calls `getToken()` directly — for example in a Route Handler, middleware, or server-side request handler.
- You do not wrap that `getToken()` call in your own `try/catch`.&lt;/p&gt;
&lt;p&gt;You are **not** affected if you only use the framework&amp;#39;s `auth()` helper and never call `getToken()` yourself, or if every `getToken()` call site already has its own exception handling.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;- Denial of service: an unauthenticated request carrying a malformed Bearer authorization header can raise an unhandled exception in any handler that calls `getToken()`.
- The impact is per-request and limited to availability; it does not expose tokens, sessions, or other data, and does not bypass authentication.&lt;/p&gt;
&lt;p&gt;CWE-20: Improper Input Va…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @auth/core, npm: next-auth&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;The exported `getToken()` helper (`next-auth/jwt` and `@auth/core/jwt`) can throw an uncaught exception when it reads a malformed `Authorization: Bearer …` header. When no session cookie is present, `getToken()` URL-decodes the bearer value before validating it, and malformed percent-encoding causes the decode step to throw rather than being treated as an invalid token. Because `getToken()` is commonly called in API routes, middleware, and other request handlers, a single unauthenticated request can trigger an unhandled exception in code paths that authenticate requests.&lt;/p&gt;
&lt;p&gt;## Am I affected?&lt;/p&gt;
&lt;p&gt;You are affected if **all** of the following hold:&lt;/p&gt;
&lt;p&gt;- You use `next-auth` `&amp;lt;= 5.0.0-beta.25` (or `@auth/core` exposing the same `getToken()` implementation).
- Your application calls `getToken()` directly — for example in a Route Handler, middleware, or server-side request handler.
- You do not wrap that `getToken()` call in your own `try/catch`.&lt;/p&gt;
&lt;p&gt;You are **not** affected if you only use the framework&amp;#39;s `auth()` helper and never call `getToken()` yourself, or if every `getToken()` call site already has its own exception handling.&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;- Denial of service: an unauthenticated request carrying a malformed Bearer authorization header can raise an unhandled exception in any handler that calls `getToken()`.
- The impact is per-request and limited to availability; it does not expose tokens, sessions, or other data, and does not bypass authentication.&lt;/p&gt;
&lt;p&gt;CWE-20: Improper Input Va…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-xmf8-cvqr-rfgj</guid>
    </item>
  </channel>
</rss>
