ChatGPTNextWeb NextChat up to 2.16.1 Artifacts Endpoint route.ts storeUrl ID server-side request forgery
Summary
A vulnerability categorized as critical has been discovered in ChatGPTNextWeb NextChat up to 2.16.1. This vulnerability affects the function storeUrl of the file app/api/artifacts/route.ts of the component Artifacts Endpoint. Such manipulation of the argument ID leads to server-side request forgery.
This vulnerability is referenced as CVE-2026-7178. It is possible to launch the attack remotely. Furthermore, an exploit is available.
The project was informed of the problem early through an issue report but has not responded yet.
Details
A vulnerability was found in ChatGPTNextWeb NextChat up to 2.16.1 and classified as critical. Affected by this issue is the function storeUrl of the file app/api/artifacts/route.ts of the component Artifacts Endpoint. The manipulation of the argument id with an unknown input leads to a server-side request forgery vulnerability. Using CWE to declare the problem leads to CWE-918. The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. Impacted is confidentiality, integrity, and availability.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-7178. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.
The exploit is available at gist.github.com. It is declared as proof-of-concept. The project was informed of the problem early through an issue report but has not responded yet.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Once again VulDB remains the best source for vulnerability data.
Product
Type
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Server-side request forgeryCWE: CWE-918
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
04/27/2026 Advisory disclosed04/27/2026 VulDB entry created
04/27/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 6741
Status: Not defined
CVE: CVE-2026-7178 (🔒)
GCVE (CVE): GCVE-0-2026-7178
GCVE (VulDB): GCVE-100-359780
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 04/27/2026 10:21Changes: 04/27/2026 10:21 (60)
Complete: 🔍
Submitter: Eric-b
Cache ID: 216::103
Submit
Accepted
- Submit #797646: nextchat <= 2.16.1 Server-Side Request Forgery (CWE-918) / Path Traversal (CWE-22) (by Eric-b)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.