Skip to content
Heist/ feed
Back to feed
Medium

ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-7178
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:36 UTC · Revision 1

Source evidence

ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery

core-osv · Original source

Published 27 Apr 2026, 22:00 UTC

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.

osv:CVE-2026-7178
Complete source record
{
  "id": "faa845ee3b4a1f87edd87b6b179abab2eaa0f224bf0a77212c91a884b9d8c5af",
  "url": "https://osv.dev/vulnerability/CVE-2026-7178",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery",
    "summary": "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.",
    "evidence": "osv:CVE-2026-7178",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-7178",
      "aliases": [
        "CVE-2026-7178"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/chatgptnextweb/nextchat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "377480b448798488db5ef03f4d5c44d2d930693c"
                },
                {
                  "last_affected": "557a2cce357749c6fb3176d42e03ff6f7de4d355"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.16.0"
                      },
                      {
                        "last_affected": "2.16.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.16.1"
                      },
                      {
                        "last_affected": "2.16.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextchat:nextchat:2.16.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.16.0"
                      },
                      {
                        "last_affected": "2.16.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextchat:nextchat:2.16.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.16.1"
                      },
                      {
                        "last_affected": "2.16.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.16.0",
            "2.16.1",
            "v2.16.1",
            "v2.16.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7178.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.360074305Z",
      "provider": "osv",
      "references": [
        "https://github.com/ChatGPTNextWeb/NextChat/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7178.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-7178",
        "https://vuldb.com/submit/797646",
        "https://vuldb.com/vuln/359780",
        "https://github.com/ChatGPTNextWeb/NextChat/issues/6741",
        "https://vuldb.com/vuln/359780/cti",
        "https://gist.github.com/YLChen-007/43252d45d75e8bdd2d45136fd6ffe8a5"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7178.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-7178",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493877,
  "published_at": "2026-04-27T22:00:20.342+00:00"
}