{"uuid": "61f4cb6d-ce9e-47b5-875c-2cf7b7aee735", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "GHSA-F82V-JWR5-MFFW", "type": "seen", "source": "https://t.me/wh_lab/82", "content": "\u2699\ufe0fCVE-2025-29927 - Next.js and the corrupt middleware\n\n\u041e\u0447\u0435\u0440\u0435\u0434\u043d\u0430\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u043c JS \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435\n\nNext.js \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0445\u0435\u0434\u0435\u0440 x-middleware-subrequest, \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\n\n\u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u043e\u0439\u0442\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u0432 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0438 Next.js, \u0447\u0442\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c\n\n\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d \u0432 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 12.3.5, 13.5.9, 14.2.25 \u0438 15.2.3\n\n\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 (\u043d\u0430 \u0430\u043d\u0433\u043b.)\n\n\u27a1\ufe0fSummary\n\n\ud83d\udd04 Nuclei \u0448\u0430\u0431\u043b\u043e\u043d:\n\nid: nextjs-CVE-2025-29927\n\ninfo:\n  name: Next.js - CVE-2025-29927\n  author: 6mile\n  severity: critical\n  description: |\n     Next.js has a critical vulnerability that allows attackers to bypass authentication entirely when the application utilizes middleware for authorization. \n  reference:\n    - https://zhero-web-sec.github.io/research-and-things/nextjs-and-the-corrupt-middleware\n    - https://nvd.nist.gov/vuln/detail/CVE-2025-29927\n    - https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw\n    - https://zeropath.com/blog/nextjs-middleware-cve-2025-29927-auth-bypass\n  metadata:\n    verified: true\n    vendor: vercel\n    product: next.js\n    framework: node.js\n    shodan-query:\n      - http.html:\"/_next/static\"\n      - x-powered-by: next.js\n      - x-nextjs-cache:\n      - cpe:\"cpe:2.3:a:zeit:next.js\"\n    fofa-query: body=\"/_next/static\"\n  tags: nextjs,cve-2025-29927\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        name: Next.js\n        part: header\n        words:\n          - 'x-nextjs-cache:'\n          - 'x-powered-by: next.js'\n          - 'x-nextjs-prerender:'\n          - 'x-nextjs-stale-time:'\n          - 'set-cookie: NEXT_LOCALE='\n        condition: or\n        case-insensitive: true\n\n      - type: word\n        name: Next.js Middleware\n        part: header\n        words:\n          - 'x-middleware-rewrite:'\n          - 'x-middleware-set-cookie:'\n        condition: or\n        case-insensitive: true\n\n      - type: status\n        status:\n          - 200\n\n#web #pentest #nextjs #cve\n\n\u2708\ufe0f Whitehat Lab", "creation_timestamp": "2026-08-05T00:00:39.588629Z"}