Next.js
Next.js: Server-side request forgery in applications using WebSocket upgrades
Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5, self-hosted applications using the built-in Node.js server can be vulnerable to server-side request forgery through crafted WebSocket upgrade requests. An attacker can cause the server to proxy requests to arbitrary internal or external destinations, which may expose internal services or cloud metadata endpoints. Vercel-hosted deployments are not affected. This vulnerability is fixed in 15.5.16 and 16.2.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 16.0.0, < 16.2.5
- >= 13.4.13, < 15.5.16
Fixed in 16.2.5, 15.5.16
Mitigation
Upgrade next.js to 16.2.5 or 15.5.16 or later.
References
- Vendor advisory github.com/vercel/next.js/security/advisories/…
Timeline
Days relative to CVE publicationFirst public PoC 1.7 days after publication; not in CISA KEV. First PoC: tocong282/CVE-2026-44578-PoC (created 15 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.7 PoCs · 3 pending
PoCs 7
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| tocong282/CVE-2026-44578-PoC | 15 May 2026 +1.7 d | 0 | PoC |
| love07oj/nextjs-cve-2026-44578 | 15 May 2026 +2 d | 8 | Scanner |
| 0xBlackash/CVE-2026-44578 | 16 May 2026 +2.9 d | 2 | PoC |
| 0xredash/CVE-2026-44578 | 16 May 2026 +2.9 d | 2 | PoC |
| ashrafzaryouh/CVE-2026-44578 | 16 May 2026 +2.9 d | 2 | PoC |
| lxxexxbxx/CVE-2026-44578 | 18 Aug 2026 +97 d | 1 | PoC |
| isaca0315/CVE-2026-44578-next-js-ssrf | 6 Sep 2026 +116 d | 0 | PoC |
Pending 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| panchocosil/verify-ghsa-c4j6-fc7j-m34r | 13 May 2026 −11 h | 0 | Pending · mkdir /quarantine/panchocosil__verify-ghsa-c4j6-fc7j-m34r-b189cced3928: permission denied |
| ynsmroztas/nextssrf | 15 May 2026 +1.5 d | 77 | Pending · mkdir /quarantine/ynsmroztas__nextssrf-b6bd73749711: permission denied |
| dinosn/CVE-2026-44578 | 16 May 2026 +2.7 d | 9 | Pending · mkdir /quarantine/dinosn__CVE-2026-44578-ad7612005d56: permission denied |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Next.js WebSocket Upgrade Handler - SSRF | 15 May 2026 | 14 Nov 2026 |
| PoC Index | https://github.com/dinosn/CVE-2026-44578/blob/b0dac63cf161c442b7042037aa44ec80860d4375/exploit/poc.py | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 7 PoC reposGET /
- Key headers
Upgrade: websocket- Seen in
- 4 repos: 0xBlackash/CVE-2026-44578, 0xredash/CVE-2026-44578, ashrafzaryouh/CVE-2026-44578, tocong282/CVE-2026-44578-PoC
- Evidence
- 0xBlackash/CVE-2026-44578/README.md:94 0xredash/CVE-2026-44578/README.md:94 ashrafzaryouh/CVE-2026-44578/README.md:94 tocong282/CVE-2026-44578-PoC/poc.py:13
GET /latest/meta-data/iam/security-credentials/{var}
- Key headers
Sec-Websocket-Key: dGhlIHNhbXBsZSBub25jZQ==Sec-Websocket-Version: 13Upgrade: websocket- Ports
- 3000
- Seen in
- 1 repo: isaca0315/CVE-2026-44578-next-js-ssrf
- Evidence
- isaca0315/CVE-2026-44578-next-js-ssrf/README.md:83
GET /latest/user-data
- Ports
- 80, 3000
- Seen in
- 1 repo: isaca0315/CVE-2026-44578-next-js-ssrf
- Evidence
- isaca0315/CVE-2026-44578-next-js-ssrf/README.md:191 isaca0315/CVE-2026-44578-next-js-ssrf/SOLUCION.md:58
GET /api/health
- Ports
- 3000
- Seen in
- 1 repo: isaca0315/CVE-2026-44578-next-js-ssrf
- Evidence
- isaca0315/CVE-2026-44578-next-js-ssrf/README.md:104
GET /api/hello
- Ports
- 3000
- Seen in
- 1 repo: lxxexxbxx/CVE-2026-44578
- Evidence
- lxxexxbxx/CVE-2026-44578/README.md:71
GET /api/v1/config
- Key headers
Sec-Websocket-Key: AAAAAAAAAAAAAAAAAAAAAA==Sec-Websocket-Version: 13Upgrade: websocket- Ports
- 3000
- Seen in
- 1 repo: lxxexxbxx/CVE-2026-44578
- Evidence
- lxxexxbxx/CVE-2026-44578/README.md:129
GET /api/v1/employees
- Key headers
Sec-Websocket-Key: AAAAAAAAAAAAAAAAAAAAAA==Sec-Websocket-Version: 13Upgrade: websocket- Ports
- 3000
- Seen in
- 1 repo: lxxexxbxx/CVE-2026-44578
- Evidence
- lxxexxbxx/CVE-2026-44578/README.md:115
GET /config
- Ports
- 3000
- Seen in
- 1 repo: isaca0315/CVE-2026-44578-next-js-ssrf
- Evidence
- isaca0315/CVE-2026-44578-next-js-ssrf/README.md:314
GET /config`.
GET /health
- Key headers
Sec-Websocket-Key: AAAAAAAAAAAAAAAAAAAAAA==Sec-Websocket-Version: 13Upgrade: websocket- Ports
- 3000
- Seen in
- 1 repo: lxxexxbxx/CVE-2026-44578
- Evidence
- lxxexxbxx/CVE-2026-44578/README.md:96 lxxexxbxx/CVE-2026-44578/README.md:103
GET /latest/meta-data/iam/security-credentials/
- Key headers
Sec-Websocket-Key: AAAAAAAAAAAAAAAAAAAAAA==Sec-Websocket-Version: 13Upgrade: websocket- Ports
- 3000
- Seen in
- 1 repo: lxxexxbxx/CVE-2026-44578
- Evidence
- lxxexxbxx/CVE-2026-44578/README.md:142
GET /latest/meta-data/iam/security-credentials/ec2-hr-api-role
- Key headers
Sec-Websocket-Key: AAAAAAAAAAAAAAAAAAAAAA==Sec-Websocket-Version: 13Upgrade: websocket- Ports
- 3000
- Seen in
- 1 repo: lxxexxbxx/CVE-2026-44578
- Evidence
- lxxexxbxx/CVE-2026-44578/README.md:150
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/(?:[?#].*)?$
(?i)^/latest/meta-data/iam/security-credentials/[^/?#]*(?:[?#].*)?$
(?i)^/latest/user-data(?:[?#].*)?$
(?i)^/api/health(?:[?#].*)?$
(?i)^/api/hello(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-44578 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Upgrade: websocket"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-44578; classtype:web-application-attack; sid:9561128; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-44578 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/latest/meta-data/iam/security-credentials/"; http.header; content:"Sec-Websocket-Key: dGhlIHNhbXBsZSBub25jZQ=="; nocase; http.header; content:"Sec-Websocket-Version: 13"; nocase; http.header; content:"Upgrade: websocket"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-44578; classtype:web-application-attack; sid:9381168; rev:1;)
alert http any any -> $HOME_NET [80,3000] (msg:"GG PoC-Monitor CVE-2026-44578 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/latest/user-data"; reference:url,poc.griffinguard.io/cve/CVE-2026-44578; classtype:web-application-attack; sid:9301118; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-44578 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/health"; reference:url,poc.griffinguard.io/cve/CVE-2026-44578; classtype:web-application-attack; sid:9645087; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-44578 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/hello"; reference:url,poc.griffinguard.io/cve/CVE-2026-44578; classtype:web-application-attack; sid:9557819; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: vercel next.js exploit attempt (CVE-2026-44578)
id: gg-pocmon-cve-2026-44578-9561128
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-44578. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-44578
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.44578
title: vercel next.js exploit attempt (CVE-2026-44578)
id: gg-pocmon-cve-2026-44578-9381168
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-44578. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-44578
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/latest/meta-data/iam/security-credentials/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.44578
title: vercel next.js exploit attempt (CVE-2026-44578)
id: gg-pocmon-cve-2026-44578-9301118
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-44578. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-44578
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/latest/user-data'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.44578
title: vercel next.js exploit attempt (CVE-2026-44578)
id: gg-pocmon-cve-2026-44578-9645087
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-44578. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-44578
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/health'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.44578
title: vercel next.js exploit attempt (CVE-2026-44578)
id: gg-pocmon-cve-2026-44578-9557819
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-44578. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-44578
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/hello'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.44578