CVE-2026-27978: Next.js: null origin can bypass Server Actions CSRF checks
(updated )
origin: null was treated as a “missing” origin during Server Action CSRF validation. As a result, requests from opaque contexts (such as sandboxed iframes) could bypass origin verification instead of being validated as cross-origin requests.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-27978 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →