Next.js - Authorization Bypass (CVE-2025-29927)
Description
In NextJS React framework prior to 14.2.25 and 15.2.3, it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware
psychologyCrowdSec Analysis
CVE-2025-29927 is a high-severity vulnerability affecting the NextJS React framework, which allows attackers to bypass authorization checks when these controls are enforced through application middleware.
CrowdSec has been tracking this vulnerability and its exploits since 24th of March 2025.
According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2025-29927 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. CrowdSec network telemetry also shows that exploitation of CVE-2025-29927 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.
Attack patterns are tailored towards application endpoints that rely on middleware-based authorization within NextJS deployments.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-03-10 |
| Rule Released | 2025-03-24 |
| CrowdSec First Seen | 2025-03-26 |
Remediation & Protection
External References
- https://lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-29927.yaml
- https://github.com/vercel/next.js/releases/tag/v13.5.9
- https://github.com/vercel/next.js/releases/tag/v12.3.5
- https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw
- https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48
- https://github.com/vercel/next.js/commit/52a078da3884efe6501613c7834a3d02a91676d2
- https://security.netapp.com/advisory/ntap-20250328-0002/