All reports
Medium

node-csv: Prototype replacement still reachable via columns path

Affected versions

Affected versions
< 7.0.2
Fixed version
7.0.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-85063

Probability of exploitation in the next 30 days: 0.57%

FIRST EPSS · 2026-11-20

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

Links