CVE-2026-48170: Unsanitized Path Split Prototype Pollution

Path segments derived from splitting a path string are returned without validating against dangerous property names like '__proto__', 'constructor', or 'prototype'. This can enable prototype pollution when the segments are used to access or modify object properties.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-48170-unsanitized-path-split-prototype-pollution --engine opengrep

Description

Path segments derived from splitting a path string are returned without validating against dangerous property names like '__proto__', 'constructor', or 'prototype'. This can enable prototype pollution when the segments are used to access or modify object properties.