CVE-2018-16490
High · 7.5CVSS
7.5
EPSS
1.1%
Published
Feb 1, 2019
CISA due date
—
Cloudanix analysis
A software library used by some applications has a flaw that lets attackers change core data-handling behavior, which can break features or let them tamper with information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Prototype pollution in mpath <0.5.1 allows injection of arbitrary properties onto Object.prototype via specially crafted input containing __proto__ or constructor.prototype keys.
Why it matters to the business
Applications relying on this library may experience altered object behavior, data corruption, or bypass of security controls, increasing operational risk and potential downtime.
How an attack unfolds
An attacker supplies malicious input to any code path using vulnerable mpath functions; the library merges the input without sanitization, polluting the global Object prototype and enabling subsequent attacks such as property injection or denial of service on affected objects.
How to fix it
Upgrade mpath to version 0.5.1 or newer in all package manifests and rebuild affected applications; audit transitive dependencies for older copies.
How to confirm the fix worked
Inspect package.json and node_modules/mpath/package.json for version >=0.5.1; run unit tests with prototype-pollution payloads to confirm the merge behavior no longer affects Object.prototype.
Typical attack path
- Locate an application endpoint or function that passes attacker-controlled data to mpath
- Craft a payload containing __proto__ or constructor.prototype keys with malicious values
- Submit the payload via API, form, or file upload
- Trigger prototype pollution and chain to further impact such as unexpected method overrides or data leakage
How to detect it
Search application and web-server logs for request parameters containing __proto__, constructor.prototype, or similar prototype keys; inspect runtime object dumps or error logs for unexpected inherited properties after processing untrusted input.
- __proto__
- constructor.prototype
- mpath.*merge
What your security team should do
- Immediately update mpath across all projects and CI pipelines
- Add dependency scanning to block future vulnerable versions
- Review application code for direct or indirect use of mpath merge or set operations
- Monitor EPSS trend and exploit availability for prioritization
The record
A prototype pollution vulnerability was found in module mpath <0.5.1 that allows an attacker to inject arbitrary properties onto Object.prototype.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | mpath | 0 | 0.5.1 |
Related vulnerabilities
- CVE-2026-121524 A flaw has been found in sumiie24 School-Management-System up to… CWE-74
- CVE-2026-121502 A vulnerability was identified in mathurvishal CloudClassroom-PHP-Project. CWE-74
- CVE-2026-115779 Effect is a TypeScript framework that consists of several packages that work together to… CWE-74
- CVE-2026-57154 OPNsense is a FreeBSD based firewall and routing platform. CWE-74
- CVE-2026-121260 A flaw has been found in Ziroom ZHOME A0101 1.0.1.0 Build 202004151405. CWE-74
- CVE-2026-120329 Saving the configuration of the mail backend module writes submitted settings to the page… CWE-74
- CVE-2026-120349 A security flaw has been discovered in dayrui XunRuiCMS up to 4.7.4. CWE-74
- CVE-2026-120348 A vulnerability was identified in dayrui XunRuiCMS up to 4.7.4. CWE-74