{ "canonical_id": "nextjs--CVE-2024-51479", "system_id": "nextjs", "display_name": "Next.js", "category": "frameworks", "advisory_mode": "core", "title": "Next.js authorization bypass vulnerability", "summary": "### Impact\nIf a Next.js application is performing authorization in middleware based on pathname, it was possible for this authorization to be bypassed.\n\n### Patches\nThis issue was patched in Next.js `14.2.15` and later.\n\nIf your Next.js application is hosted on Vercel, this vulnerability has been automatically mitigated, regardless of Next.js version.\n\n### Workarounds\nThere are no official workarounds for this vulnerability.\n\n#### Credits\nWe'd like to thank [tyage](http://github.com/tyage) (GMO CyberSecurity by IERAE) for responsible disclosure of this issue.", "published_at": "2024-12-17T15:09:06Z", "updated_at": "2025-09-10T21:12:24Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/vercel/next.js/security/advisories/GHSA-7gfc-8cq8-jh5f", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2024-51479", "https://github.com/vercel/next.js/commit/1c8234eb20bc8afd396b89999a00f06b61d72d7b", "https://github.com/vercel/next.js", "https://github.com/vercel/next.js/releases/tag/v14.2.15" ], "aliases": [ "CVE-2024-51479", "GHSA-7gfc-8cq8-jh5f" ], "cve_ids": [ "CVE-2024-51479" ], "ghsa_ids": [ "GHSA-7gfc-8cq8-jh5f" ], "osv_ids": [ "GHSA-7gfc-8cq8-jh5f" ], "affected_versions": [ "introduced=9.5.5, fixed<14.2.15" ], "fixed_versions": [ "14.2.15" ], "package_name": "next", "render_markdown": true, "case_path": "07-framework-security/frameworks/nextjs/cases/nextjs-cve-2024-51479.md", "secure_code_topics": [ "authz-server-side-recheck", "proxy-trust-boundary", "token-cookie-storage" ], "status": "generated", "triage_reasons": [], "metadata": { "source_names": [ "OSV Next.js" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }