Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply CSV with duplicate __proto__ headers
-
DeliveryParser groups duplicates via group_columns_by_name into array
-
ExploitPrototype-chain check treats __proto__ as existing property
-
ExecutionDirect obj['__proto__'] assignment replaces object prototype
-
PersistRecord returned with attacker array as prototype
-
ImpactDownstream 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
AC:H reflects the non-default dual-option requirement (columns + group_columns_by_name); no privileges needed but attacker must control CSV content.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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- 123 npm packages depend on csv-parse (50 direct, 75 indirect)
Ecosystem-wide dependent count for version 7.0.2.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-70737
GHSA-8cw4-87c7-c6xx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB