PoC Monitor
← All CVEs
CVE-2026-27980published 18 Mar 2026 00:23 UTCData: JSON · API

Next.js

Next.js: Unbounded next/image disk cache growth can exhaust storage

Next.js is a React framework for building full-stack web applications. Starting in version 10.0.0 and prior to version 16.1.7, the default Next.js image optimization disk cache (`/_next/image`) did not have a configurable upper bound, allowing unbounded cache growth. An attacker could generate many unique image-optimization variants and exhaust disk space, causing denial of service. This is fixed in version 16.1.7 by adding an LRU-backed disk cache with `images.maximumDiskCacheSize`, including eviction of least-recently-used entries when the limit is exceeded. Setting `maximumDiskCacheSize: 0` disables disk caching. If upgrading is not immediately possible, periodically clean `.next/cache/images` and/or reduce variant cardinality (e.g., tighten values for `images.localPatterns`, `images.remotePatterns`, and `images.qualities`).

First public PoC 248 daysafter publication · 20 Nov 2026
Public PoCs11 on GitHub
CVSS7.5high · scored by NVD · CWE-400
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

vercel next.js
  • >= 10.0.0, < 16.1.7

Fixed in 16.1.7

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210+240CVE published18 Mar 2026 · t = 0First public PoC20 Nov 2026 · t+248d

First public PoC 248 days after publication; not in CISA KEV. First PoC: aheybati/CVE-2026-27980 (created 20 Nov 2026, found by us: 20 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
aheybati/CVE-2026-27980 20 Nov 2026 +248 d 20 Nov 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /_next/image

Query
url=/hero.png#v= w=1920 q=75 w= q=
Key headers
Accept: image/webp
Ports
3000, 3001, 8080, 8081
Seen in
1 repo: aheybati/CVE-2026-27980
Evidence
aheybati/CVE-2026-27980/README.md:206 aheybati/CVE-2026-27980/poc.py:140

GET /api/diag

Ports
3000, 3001, 8080, 8081
Seen in
1 repo: aheybati/CVE-2026-27980
Evidence
aheybati/CVE-2026-27980/poc.py:103

POST /api/note

Body markers
poc-probe-
Ports
3000, 3001, 8080, 8081
Seen in
1 repo: aheybati/CVE-2026-27980
Evidence
aheybati/CVE-2026-27980/poc.py:127

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /_next/image
(?i)^/_next/image\?(?:.*&)?url=/hero\.png#v=.*w=1920.*q=75.*w=.*q=
GET /api/diag
(?i)^/api/diag(?:[?#].*)?$
POST /api/note
(?i)^/api/note(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /_next/image
alert http any any -> $HOME_NET [3000,3001,8080,8081] (msg:"GG PoC-Monitor CVE-2026-27980 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/_next/image"; http.uri; content:"url=/hero.png#v="; http.uri; content:"w=1920"; http.uri; content:"q=75"; http.uri; content:"w="; http.uri; content:"q="; http.header; content:"Accept: image/webp"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-27980; classtype:web-application-attack; sid:9134312; rev:1;)
GET /api/diag
alert http any any -> $HOME_NET [3000,3001,8080,8081] (msg:"GG PoC-Monitor CVE-2026-27980 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/diag"; reference:url,poc.griffinguard.io/cve/CVE-2026-27980; classtype:web-application-attack; sid:9626904; rev:1;)
POST /api/note
alert http any any -> $HOME_NET [3000,3001,8080,8081] (msg:"GG PoC-Monitor CVE-2026-27980 vercel next.js exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/note"; http.request_body; content:"poc-probe-"; reference:url,poc.griffinguard.io/cve/CVE-2026-27980; classtype:web-application-attack; sid:9475187; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /_next/image
title: vercel next.js exploit attempt (CVE-2026-27980)
id: gg-pocmon-cve-2026-27980-9134312
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27980. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27980
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/_next/image'
    cs-uri-query|contains|all:
      - 'url=/hero.png#v='
      - 'w=1920'
      - 'q=75'
      - 'w='
      - 'q='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27980
GET /api/diag
title: vercel next.js exploit attempt (CVE-2026-27980)
id: gg-pocmon-cve-2026-27980-9626904
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27980. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27980
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/diag'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27980
POST /api/note
title: vercel next.js exploit attempt (CVE-2026-27980)
id: gg-pocmon-cve-2026-27980-9475187
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-27980. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-27980
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/note'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.27980