Advisory

GHSA-8cw4-87c7-c6xx

Also known as: CVE-2026-85063

Summary

node-csv: Prototype replacement still reachable via columns path

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-09-08 18:01 UTC
Modified
2026-09-08 18:15 UTC

Affected packages and fixes

csv-parse

npm · All systems

Affected

  • introduced 0, fixed 7.0.2 (semver)

Fixed versions

7.0.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences