Skip to main content

node-csv EUVDEUVD-2026-70737

| CVE-2026-85063 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-09-03 GitHub_M GHSA-8cw4-87c7-c6xx
6.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply CSV with duplicate __proto__ headers
  2. Delivery
    Parser groups duplicates via group_columns_by_name into array
  3. Exploit
    Prototype-chain check treats __proto__ as existing property
  4. Execution
    Direct obj['__proto__'] assignment replaces object prototype
  5. Persist
    Record returned with attacker array as prototype
  6. Impact
    Downstream type/shape checks or JSON serialisation behaves unexpectedly

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Both the columns option and the group_columns_by_name option must be explicitly enabled in the csv-parse invocation - neither is enabled by default. The attacker must be able to supply or influence the CSV content being parsed (e.g., user-uploaded CSV, external data feed, API-provided payload). Applications that parse CSV without group_columns_by_name are entirely unaffected regardless of content. The downstream integrity and availability impact depends on whether application code performs prototype-sensitive operations (instanceof, JSON.stringify equality checks, for-in enumeration, array-shape validation) on the returned record objects; applications that only read named own properties are functionally unaffected even if the prototype is replaced.

Impact

The vendor-provided CVSS 4.0 score of 6.9 uses AC:L, which appears to understate the exploitation requirement: both the columns and group_columns_by_name options must be explicitly enabled together in the csv-parse call - neither is a default. This dual non-default configuration dependency makes AC:H a more accurate characterisation. The real-world impact is narrowly scoped: applications that merely read explicitly named fields from the parsed record are largely unaffected, while those relying on instanceof checks, array-detection logic, JSON serialisation fidelity, or prototype-inherited property enumeration face integrity and availability risk proportional to how deeply they trust parsed record shapes. EPSS data was not provided; the CVE is not listed in CISA KEV; no standalone public exploit code is identified. The patch (v7.0.2) is available and low-risk to apply. Overall operational priority is low-to-medium: genuine but narrow blast radius, conditioned on non-default configuration, and fully mitigated by the released patch.

Exploit ScenarioDerived

An attacker controlling CSV input - for example via a file upload endpoint, API data feed, or external CSV import - submits content with duplicate __proto__ headers such as '__proto__,__proto__,role\nEVIL1,EVIL2,admin'. When the application parses this with both columns: true and group_columns_by_name: true, the returned record object's [[Prototype]] is silently replaced with the array ['EVIL1','EVIL2'], injecting length=2 and numeric-index properties that are invisible to JSON.stringify() but accessible through prototype lookups. If downstream code performs array-detection, instanceof checks, or relies on the serialised form of parsed records for authorisation decisions, the injected prototype values can corrupt control flow.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Prototype pollution in node-csv's csv-parse package (prior to 7.0.2) allows unauthenticated remote attackers to inject inherited array values into parsed record objects by supplying a CSV with duplicate __proto__ column headers when both the columns and group_columns_by_name options are enabled. The parser's direct obj['__proto__'] assignment replaces the parsed record's prototype with an attacker-controlled array, causing inherited numeric-index values to be silently hidden from JSON.stringify(), corrupt property enumeration, and subvert type or shape checks in downstream application logic. No public exploit code or active exploitation has been identified at time of analysis; a vendor-released patch is available in version 7.0.2.

RemediationAI

Upgrade csv-parse to version 7.0.2 or later, which fully resolves the prototype pollution via the changes in commit eb4d1484589c976dcb977db8dd0b90e015a6f66e (https://github.com/adaltas/node-csv/pull/497). If an immediate upgrade is not feasible, the most targeted workaround is to disable the group_columns_by_name option, since the prototype pollution path requires both columns and group_columns_by_name to be active simultaneously - removing either option closes the attack vector with no patch needed. A secondary workaround is to pre-validate CSV headers before passing to csv-parse and reject any header named __proto__, constructor, or prototype; note that header sanitisation is inherently fragile and prone to bypass, so it should never substitute for upgrading. No side effects are expected from the v7.0.2 fix for well-formed CSV inputs.

Affected VersionsENISA

node-csv < 7.0.2

Affected Packages

npm csv-parse fix: 7.0.2
euvd node_csv fix: 7.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

node-csv is a Node.js CSV processing monorepo by Adaltas; the vulnerable component is csv-parse (cpe:2.3:a:adaltas:node-csv:*:*:*:*:*:*:*:*). The root cause is CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes - prototype pollution). In packages/csv-parse/lib/api/index.js, when group_columns_by_name is enabled, duplicate column names are grouped into arrays on the parsed record object. The duplicate-detection check used obj[columns[i].name] !== undefined, which traverses the full prototype chain and therefore 'finds' __proto__ as a known property. The subsequent assignment obj['__proto__'] = record[i] does not create an own property named __proto__ but instead replaces the object's internal [[Prototype]] with the attacker-supplied array. The fix in PR #497 replaces the check with Object.hasOwn() (own-property only, prototype-chain blind) and replaces direct assignment with Object.defineProperty(), which creates a literal own property named __proto__ without touching the prototype chain.

Know when Prototype Pollution gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

AC:H reflects the non-default dual-option requirement (columns + group_columns_by_name); no privileges needed but attacker must control CSV content.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 03, 2026 - 22:02 EUVD

DescriptionCVE.org

node-csv is a full-featured CSV parser with a simple API that is tested against large datasets. Prior to 7.0.2, csv-parse with the columns and group_columns_by_name options enabled treats a duplicate __proto__ header as an existing property in packages/csv-parse/lib/api/index.js, assigns an attacker-controlled array through obj['__proto__'], and replaces the parsed record object's prototype. A malicious CSV header can therefore inject inherited array values into the returned record, hide those inherited values from JSON serialization, and affect property enumeration and type or shape checks in applications that process the record. This issue is fixed in version 7.0.2.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 123 npm packages depend on csv-parse (50 direct, 75 indirect)

Ecosystem-wide dependent count for version 7.0.2.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular npm CSV parsing library, widely used in Node.js backends
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy