Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

Known CVEnpm/next

CVE-2025-29927: Next.js authorization bypass in middleware

Critical

Authorization checks done in middleware could be skipped with a crafted request header. Fixed in 12.3.5, 13.5.9, 14.2.25 and 15.2.3.

Affected and fixed versions

Affected: >= 12.0.0, < 12.3.5; >= 13.0.0, < 13.5.9; >= 14.0.0, < 14.2.25; >= 15.0.0, < 15.2.3. Fixed in 12.3.5, 13.5.9, 14.2.25, 15.2.3.

Sources

See every known CVE, and the ones in the news, in the Learning Center