Common Weakness Enumeration

CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

CVE-2026-8161 (GCVE-0-2026-8161)

Vulnerability from cvelistv5 – Published: 2026-05-12 08:50 – Updated: 2026-05-12 12:32
VLAI
Title
multiparty vulnerable to Denial of Service via Prototype Pollution leading to Uncaught Exception
Summary
multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property such as __proto__, constructor, or toString, the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the process. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: none. Upgrade to multiparty@4.3.0 or higher.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
  • CWE-248 - Uncaught Exception
  • CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Assigner
Impacted products
Vendor Product Version
multiparty multiparty Affected: 0 , ≤ 4.2.3 (semver)
Unaffected: 4.3.0 (semver)
Create a notification for this product.
Credits
Ser0n-ath Sebastian Beltran kq5y Byambadalai Sumiya Blake Embrey Ulises Gascón
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-8161",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-12T12:31:39.867190Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-12T12:32:10.127Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/multiparty",
          "product": "multiparty",
          "vendor": "multiparty",
          "versions": [
            {
              "lessThanOrEqual": "4.2.3",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "4.3.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Ser0n-ath"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Sebastian Beltran"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "kq5y"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Byambadalai Sumiya"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Blake Embrey"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Ulises Gasc\u00f3n"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property such as __proto__, constructor, or toString, the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the process. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: none. Upgrade to multiparty@4.3.0 or higher."
            }
          ],
          "value": "multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property such as __proto__, constructor, or toString, the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the process. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: none. Upgrade to multiparty@4.3.0 or higher."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-248",
              "description": "CWE-248: Uncaught Exception",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-1321",
              "description": "CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (\u0027Prototype Pollution\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-12T08:50:37.685Z",
        "orgId": "ce714d77-add3-4f53-aff5-83d477b104bb",
        "shortName": "openjs"
      },
      "references": [
        {
          "url": "https://github.com/pillarjs/multiparty/security/advisories/GHSA-qxch-whhj-8956"
        },
        {
          "url": "https://cna.openjsf.org/security-advisories.html"
        }
      ],
      "title": "multiparty vulnerable to Denial of Service via Prototype Pollution leading to Uncaught Exception",
      "x_generator": {
        "engine": "cve-kit 1.0.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "ce714d77-add3-4f53-aff5-83d477b104bb",
    "assignerShortName": "openjs",
    "cveId": "CVE-2026-8161",
    "datePublished": "2026-05-12T08:50:37.685Z",
    "dateReserved": "2026-05-08T10:38:20.438Z",
    "dateUpdated": "2026-05-12T12:32:10.127Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-9101 (GCVE-0-2026-9101)

Vulnerability from cvelistv5 – Published: 2026-05-20 16:18 – Updated: 2026-05-27 13:10
VLAI
Title
Prototype pollution in csv parsing
Summary
Prototype pollution in csv parsing logic during import can lead to untrusted file paths (but not arguments) entering shell.openExternal after specific user behavior leading to "1-click" command execution.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator (v2.0.3)
CWE
  • CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Assigner
References
Impacted products
Vendor Product Version
MongoDB, Inc. Compass Affected: 1.36.3
Affected: 1.36.4
Affected: 1.37.0
Affected: 1.38.0
Affected: 1.38.1
Affected: 1.38.2
Affected: 1.39.0
Affected: 1.39.1
Affected: 1.39.2
Affected: 1.39.3
Affected: 1.39.4
Affected: 1.40.0
Affected: 1.40.1
Affected: 1.40.2
Affected: 1.40.3
Affected: 1.40.4
Affected: 1.41.0
Affected: 1.42.0
Affected: 1.42.1
Affected: 1.42.2
Affected: 1.42.3
Affected: 1.42.5
Affected: 1.43.0
Affected: 1.43.1
Affected: 1.43.2
Affected: 1.43.3
Affected: 1.43.4
Affected: 1.43.5
Affected: 1.43.6
Affected: 1.44.0
Affected: 1.44.3
Affected: 1.44.4
Affected: 1.44.5
Affected: 1.44.6
Affected: 1.44.7
Affected: 1.45.0
Affected: 1.45.1
Affected: 1.45.2
Affected: 1.45.3
Affected: 1.45.4
Affected: 1.46.0
Affected: 1.46.1
Affected: 1.46.2
Affected: 1.46.3
Affected: 1.46.4
Affected: 1.46.5
Affected: 1.46.6
Affected: 1.46.7
Affected: 1.46.8
Affected: 1.46.9
Affected: 1.46.10
Affected: 1.46.11
Affected: 1.47.0
Affected: 1.47.1
Affected: 1.48.0
Affected: 1.48.1
Affected: 1.48.2
Affected: 1.49.0
Affected: 1.49.1
Affected: 1.49.2
Affected: 1.49.3
Affected: 1.49.4
Affected: 1.49.5
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-9101",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-23T03:55:43.091186Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-27T13:10:03.012Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Compass",
          "vendor": "MongoDB, Inc.",
          "versions": [
            {
              "status": "affected",
              "version": "1.36.3"
            },
            {
              "status": "affected",
              "version": "1.36.4"
            },
            {
              "status": "affected",
              "version": "1.37.0"
            },
            {
              "status": "affected",
              "version": "1.38.0"
            },
            {
              "status": "affected",
              "version": "1.38.1"
            },
            {
              "status": "affected",
              "version": "1.38.2"
            },
            {
              "status": "affected",
              "version": "1.39.0"
            },
            {
              "status": "affected",
              "version": "1.39.1"
            },
            {
              "status": "affected",
              "version": "1.39.2"
            },
            {
              "status": "affected",
              "version": "1.39.3"
            },
            {
              "status": "affected",
              "version": "1.39.4"
            },
            {
              "status": "affected",
              "version": "1.40.0"
            },
            {
              "status": "affected",
              "version": "1.40.1"
            },
            {
              "status": "affected",
              "version": "1.40.2"
            },
            {
              "status": "affected",
              "version": "1.40.3"
            },
            {
              "status": "affected",
              "version": "1.40.4"
            },
            {
              "status": "affected",
              "version": "1.41.0"
            },
            {
              "status": "affected",
              "version": "1.42.0"
            },
            {
              "status": "affected",
              "version": "1.42.1"
            },
            {
              "status": "affected",
              "version": "1.42.2"
            },
            {
              "status": "affected",
              "version": "1.42.3"
            },
            {
              "status": "affected",
              "version": "1.42.5"
            },
            {
              "status": "affected",
              "version": "1.43.0"
            },
            {
              "status": "affected",
              "version": "1.43.1"
            },
            {
              "status": "affected",
              "version": "1.43.2"
            },
            {
              "status": "affected",
              "version": "1.43.3"
            },
            {
              "status": "affected",
              "version": "1.43.4"
            },
            {
              "status": "affected",
              "version": "1.43.5"
            },
            {
              "status": "affected",
              "version": "1.43.6"
            },
            {
              "status": "affected",
              "version": "1.44.0"
            },
            {
              "status": "affected",
              "version": "1.44.3"
            },
            {
              "status": "affected",
              "version": "1.44.4"
            },
            {
              "status": "affected",
              "version": "1.44.5"
            },
            {
              "status": "affected",
              "version": "1.44.6"
            },
            {
              "status": "affected",
              "version": "1.44.7"
            },
            {
              "status": "affected",
              "version": "1.45.0"
            },
            {
              "status": "affected",
              "version": "1.45.1"
            },
            {
              "status": "affected",
              "version": "1.45.2"
            },
            {
              "status": "affected",
              "version": "1.45.3"
            },
            {
              "status": "affected",
              "version": "1.45.4"
            },
            {
              "status": "affected",
              "version": "1.46.0"
            },
            {
              "status": "affected",
              "version": "1.46.1"
            },
            {
              "status": "affected",
              "version": "1.46.2"
            },
            {
              "status": "affected",
              "version": "1.46.3"
            },
            {
              "status": "affected",
              "version": "1.46.4"
            },
            {
              "status": "affected",
              "version": "1.46.5"
            },
            {
              "status": "affected",
              "version": "1.46.6"
            },
            {
              "status": "affected",
              "version": "1.46.7"
            },
            {
              "status": "affected",
              "version": "1.46.8"
            },
            {
              "status": "affected",
              "version": "1.46.9"
            },
            {
              "status": "affected",
              "version": "1.46.10"
            },
            {
              "status": "affected",
              "version": "1.46.11"
            },
            {
              "status": "affected",
              "version": "1.47.0"
            },
            {
              "status": "affected",
              "version": "1.47.1"
            },
            {
              "status": "affected",
              "version": "1.48.0"
            },
            {
              "status": "affected",
              "version": "1.48.1"
            },
            {
              "status": "affected",
              "version": "1.48.2"
            },
            {
              "status": "affected",
              "version": "1.49.0"
            },
            {
              "status": "affected",
              "version": "1.49.1"
            },
            {
              "status": "affected",
              "version": "1.49.2"
            },
            {
              "status": "affected",
              "version": "1.49.3"
            },
            {
              "status": "affected",
              "version": "1.49.4"
            },
            {
              "status": "affected",
              "version": "1.49.5"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Prototype pollution in csv parsing logic during import can lead to untrusted file paths (but not arguments) entering shell.openExternal after specific user behavior leading to \"1-click\" command execution."
            }
          ],
          "value": "Prototype pollution in csv parsing logic during import can lead to untrusted file paths (but not arguments) entering shell.openExternal after specific user behavior leading to \"1-click\" command execution."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "PASSIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-1321",
              "description": "CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (\u0027Prototype Pollution\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-20T16:18:10.689Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "tags": [
            "issue-tracking"
          ],
          "url": "https://jira.mongodb.org/browse/COMPASS-10657"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Prototype pollution in csv parsing",
      "x_generator": {
        "engine": "Vulnogram 1.0.2"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2026-9101",
    "datePublished": "2026-05-20T16:18:10.689Z",
    "dateReserved": "2026-05-20T16:03:25.137Z",
    "dateUpdated": "2026-05-27T13:10:03.012Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}









Mitigation

Phase: Implementation

Description:

  • By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
Mitigation

Phase: Architecture and Design

Description:

  • By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Mitigation

Phase: Implementation

Strategy: Input Validation

Description:

  • When handling untrusted objects, validating using a schema can be used.
Mitigation

Phase: Implementation

Description:

  • By using an object without prototypes (via Object.create(null) ), adding object prototype attributes by accessing the prototype via the special attributes becomes impossible, mitigating this weakness.
Mitigation

Phase: Implementation

Description:

  • Map can be used instead of objects in most cases. If Map methods are used instead of object attributes, it is not possible to access the object prototype or modify it.
CAPEC-1: Accessing Functionality Not Properly Constrained by ACLs

In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to.

CAPEC-180: Exploiting Incorrectly Configured Access Control Security Levels

An attacker exploits a weakness in the configuration of access controls and is able to bypass the intended protection that these measures guard against and thereby obtain unauthorized access to the system or network. Sensitive functionality should always be protected with access controls. However configuring all but the most trivial access control systems can be very complicated and there are many opportunities for mistakes. If an attacker can learn of incorrectly configured access security settings, they may be able to exploit this in an attack.

CAPEC-77: Manipulating User-Controlled Variables

This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Back to CWE stats page