Skip to content
Heist/ feed
Back to feed
HighFix available

Next.js has Server-Side Request Forgery in Image Optimization

Type: advisorySources: OSV

## Impact An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization. ## Workaround Audit allow-listed remote URLs in `images.remotePatterns` (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no `images.remotePatterns` are configured, your app is not affected.

Products
next
Affected versions
Not specified
Fixed versions
16.3.8
CVEs
CVE-2026-94483
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:48 UTC · Revision 1

Source evidence

Next.js has Server-Side Request Forgery in Image Optimization

core-osv · Original source

Published 7 Oct 2026, 20:30 UTC

## Impact An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization. ## Workaround Audit allow-listed remote URLs in `images.remotePatterns` (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no `images.remotePatterns` are configured, your app is not affected.

osv:GHSA-cjq9-62q9-8jv4

next

Fixed versions: 16.3.8

Complete source record
{
  "id": "75687d369dad78312170ee9761a42eb27cf3661339895c5866bf43c5b65449a5",
  "url": "https://osv.dev/vulnerability/GHSA-cjq9-62q9-8jv4",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Next.js has Server-Side Request Forgery in Image Optimization",
    "summary": "## Impact An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization. ## Workaround Audit allow-listed remote URLs in `images.remotePatterns` (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no `images.remotePatterns` are configured, your app is not affected.",
    "evidence": "osv:GHSA-cjq9-62q9-8jv4",
    "products": [
      {
        "name": {
          "value": "next",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "16.3.8",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "GHSA-cjq9-62q9-8jv4",
      "aliases": [
        "CVE-2026-94483",
        "GHSA-cjq9-62q9-8jv4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "16.0.0"
                },
                {
                  "fixed": "16.3.8"
                }
              ]
            }
          ],
          "package": {
            "name": "next",
            "purl": "pkg:npm/next",
            "ecosystem": "npm"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-cjq9-62q9-8jv4/GHSA-cjq9-62q9-8jv4.json"
          }
        }
      ],
      "modified": "2026-10-07T20:45:06.190363835Z",
      "provider": "osv",
      "references": [
        "https://github.com/vercel/next.js/security/advisories/GHSA-cjq9-62q9-8jv4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-94483",
        "https://github.com/vercel/next.js/commit/e002ad68bd676bb0ed0c87bb22e3590304763e0b",
        "https://github.com/vercel/next.js",
        "https://github.com/vercel/next.js/releases/tag/v16.3.8"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "severity": "HIGH",
        "github_reviewed": true,
        "nvd_published_at": "2026-10-02T16:16:51Z",
        "github_reviewed_at": "2026-10-07T20:30:55Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-94483",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 97269,
  "published_at": "2026-10-07T20:30:55+00:00"
}