Skip to content

← Public intelligence

npm package

@workos-inc/authkit-nextjs

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.0npmAmendedPublished

    authkit-nextjs may let session cookies be cached in CDNs

    CVE-2025-64762 · GHSA-p8pf-44ff-93gf

    Affected
    • npm @workos-inc/authkit-nextjs <= 2.11.0
    Fixed in
    2.11.1· Vendor fix available
    Issue
    In authkit-nextjs version 2.11.0 and below, authenticated responses do not defensively apply anti-caching headers. In environments where CDN caching is enabled, this can result in session tokens being included in cached responses and subsequently served to multiple users. Next.js applications deployed on Vercel are unaffected unless they manually enable CDN caching by setting cache headers on authenticated paths. Impact This vulnerability may lead to session caching, potentially allowing unauthorized users to obtain another user’s session token. The severity depends on deployment configuration, caching policy, and whether authenticated routes are inadvertently cached. Patches Patched in authkit-nextjs 2.11.1, which applies anti-caching headers to all responses behind authentication. Notes Authentication middleware should set anti-caching headers for authenticated routes as a defense in depth measure, but cannot guarantee these headers will not be overwritten elsewhere in the…

    Recommended action: Upgrade to 2.11.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Low, CVSS 0.4npmAmendedPublished

    @workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled

    CVE-2024-51752 · GHSA-5wmg-9cvh-qw25

    Affected
    • npm @workos-inc/authkit-nextjs < 0.13.2
    Fixed in
    0.13.2· Vendor fix available
    Issue
    Impact Refresh tokens are logged to the console when the disabled by default debug flag, is enabled. Patches Patched in https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2

    Recommended action: Upgrade to 0.13.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 4.8npmAmendedPublished

    @workos-inc/authkit-nextjs session replay vulnerability

    CVE-2024-29901 · GHSA-35w3-6qhc-474v

    Affected
    • npm @workos-inc/authkit-nextjs < 0.4.2
    Fixed in
    0.4.2· Vendor fix available
    Issue
    Impact A user can reuse an expired session by controlling the x-workos-session header. Patches Patched in https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2

    Recommended action: Upgrade to 0.4.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →