CVE-2020-15256 is a critical-severity (CVSS 9.8) Improper Input Validation vulnerability in object-path. A fix is available for object-path — see the affected versions and patch details below.
Prototype pollution in object-path
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-15256 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
object-pathnpmDescription
Impact
A prototype pollution vulnerability has been found in object-path <= 0.11.4 affecting the set() method. The vulnerability is limited to the includeInheritedProps mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of object-path and setting the option includeInheritedProps: true, or by using the default withInheritedProps instance. The default operating mode is not affected by the vulnerability if version >= 0.11.0 is used. Any usage of set() in versions < 0.11.0 is vulnerable.
Patches
Upgrade to version >= 0.11.5
Workarounds
Don't use the includeInheritedProps: true options or the withInheritedProps instance if using a version >= 0.11.0.
References
Read more about the prototype pollution vulnerability
For more information
If you have any questions or comments about this advisory:
- Open an issue in object-path
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | object-path | all versions | 0.11.5npm install object-path@0.11.5 |
Affected Products
object-pathobject-path_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for object-path, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update object-path to 0.11.5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-15256 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Red Hat Advanced Cluster Management for Kubernetes 2.1 uses an affected version of object-path, but the vulnerable functionality `includeInheritedProps` and `withInheritedProps` is not present. A future update will include fixed versions of object-path, which will prevent this vulnerability being introduced.
Projects using object-path versions 0.11.0 through 0.11.4 are only exposed to this vulnerability if they use the setting `includeInheritedProps: true` or use the `withInheritedProps` instance. If you are using these versions but this setting and class are both absent from your code, the vulnerability can not be exploited.Source: Red Hat security advisory for CVE-2020-15256 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2020-15256 in your dependencies?
Find it across npm, including transitive dependencies.