Description
A security flaw has been discovered in ChatGPTNextWeb NextChat up to 2.16.1. Affected by this issue is the function proxyHandler of the file app/api/[provider]/[...path]/route.ts. The manipulation results in server-side request forgery. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Problem types
Product status
2.16.1
Timeline
| 2026-04-27: | Advisory disclosed |
| 2026-04-27: | VulDB entry created |
| 2026-04-27: | VulDB entry last update |
Credits
Eric-b (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/359779 (VDB-359779 | ChatGPTNextWeb NextChat route.ts proxyHandler server-side request forgery)
vuldb.com/vuln/359779/cti (VDB-359779 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/submit/797645 (Submit #797645 | nextchat <= 2.16.1 Server-Side Request Forgery / SSRF (CWE-918))
github.com/ChatGPTNextWeb/NextChat/issues/6742
gist.github.com/YLChen-007/da6b00024f5b7e1d4fa0658c19b77fbf
github.com/ChatGPTNextWeb/NextChat/