CVE-2026-7178 Details
Description
A weakness has been identified in ChatGPTNextWeb NextChat up to 2.16.1. This affects the function storeUrl of the file app/api/artifacts/route.ts of the component Artifacts Endpoint. This manipulation of the argument ID causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
A server-side request forgery (SSRF) vulnerability has been identified in ChatGPTNextWeb NextChat versions through 2.16.1. The issue resides in the Artifacts Endpoint, specifically within the storeUrl function of app/api/artifacts/route.ts. The vulnerability allows attackers to manipulate the 'id' query parameter, escaping the confines of the Cloudflare KV namespace and accessing arbitrary Cloudflare API endpoints. This exploitation is facilitated by the unvalidated user-controlled input being directly integrated into a backend fetch request, with the server's privileged 'CLOUDFLARE_KV_API_KEY' token automatically appended, potentially leading to unauthorized actions on the victim's Cloudflare account.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/43252d45d75e8bdd2d45136fd6ffe8a5 | [email protected] | ExploitThird Party Advisory |
| https://github.com/ChatGPTNextWeb/NextChat/ | [email protected] | Product |
| https://github.com/ChatGPTNextWeb/NextChat/issues/6741 | [email protected] | Issue Tracking |
| https://vuldb.com/submit/797646 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/359780 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/359780/cti | [email protected] | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextchat nextchat | 2.16.0 2.16.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2026 | Initial Analysis | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 27, 2026 | New CVE Received | [email protected] |