GitHub Advisoryadvisory · npm

GHSA-8cw4-87c7-c6xx node-csv: Prototype replacement still reachable via columns path

MEDIUM Published 2026-09-08 Modified 2026-09-08 Official page ↗
Aliases
CVE-2026-85063
Ecosystem
npm
Packages
csv-parse
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-1321
Reviewed
2026-09-08

Affected packages

• npm csv-parse: < 7.0.2 → fixed in 7.0.2

Description

Impact With columns: true and group_columns_by_name: true, a duplicated __proto__ header causes the duplicate-column branch to assign an array to obj['__proto__'], invoking the __proto__ setter and replacing the parsed record object's prototype with attacker-controlled data. Fixed in 7.0.2 (Object.hasOwn duplicate check + Object.defineProperty assignment). Patches The problem been patched. Workarounds Disable usage of both the columns and group_columns_by_name options. References issue #496, PR #497

Related

Alias · CVE (1)

  • CVE-2026-85063 node-csv is a full-featured CSV parser with a simple API that is tested against large datasets. vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References