Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    6 vulnerabilities found for shell-quote

    ROOT-APP-NPM-CVE-2026-9277 (CVE-2026-9277)

    Vulnerability from osv_root – Published: 2026-11-23 07:08 – Updated: 2026-11-23 07:08 – Source website
    VLAI
    Summary
    CVE-2026-9277 in shell-quote - Patched by Root
    Details

    Root has patched CVE-2026-9277 in the shell-quote package for Root:npm. Multiple fixed versions available.

    Upstream
    Impacted products
    Ecosystem Package Version
    Root:npm shell-quote
    Affected: < 1.6.3-aikido.3, < 1.8.1-aikido.1, < 1.7.2-aikido.2, < 1.8.0-aikido.2, < 1.7.3-aikido.1, < 1.8.3-aikido.2, < 1.8.3-aikido.3, < 1.7.3-aikido.2, < 1.8.2-aikido.1, < 1.8.0-aikido.1, < 1.8.2-aikido.2, < 1.7.2-aikido.1, < 1.6.3-aikido.4, < 1.8.1-aikido.2 (ecosystem)
    Root:npm @rootio/shell-quote
    Affected: < 1.6.3-root.io.3, < 1.8.1-root.io.1, < 1.7.2-root.io.2, < 1.8.0-root.io.2, < 1.7.3-root.io.1, < 1.8.3-root.io.2, < 1.8.3-root.io.3, < 1.7.3-root.io.2, < 1.8.2-root.io.1, < 1.8.0-root.io.1, < 1.8.2-root.io.2, < 1.7.2-root.io.1, < 1.6.3-root.io.4, < 1.8.1-root.io.2 (ecosystem)

    {
      "affected": [
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.6.3-aikido.3",
              "1.8.1-aikido.1",
              "1.7.2-aikido.2",
              "1.8.0-aikido.2",
              "1.7.3-aikido.1",
              "1.8.3-aikido.2",
              "1.8.3-aikido.3",
              "1.7.3-aikido.2",
              "1.8.2-aikido.1",
              "1.8.0-aikido.1",
              "1.8.2-aikido.2",
              "1.7.2-aikido.1",
              "1.6.3-aikido.4",
              "1.8.1-aikido.2"
            ],
            "root_patch_version": "aikido.2",
            "root_patched": true,
            "total_fixed_versions": 14,
            "upstream_version": "1.8.1"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.3-aikido.3"
                },
                {
                  "fixed": "1.8.1-aikido.1"
                },
                {
                  "fixed": "1.7.2-aikido.2"
                },
                {
                  "fixed": "1.8.0-aikido.2"
                },
                {
                  "fixed": "1.7.3-aikido.1"
                },
                {
                  "fixed": "1.8.3-aikido.2"
                },
                {
                  "fixed": "1.8.3-aikido.3"
                },
                {
                  "fixed": "1.7.3-aikido.2"
                },
                {
                  "fixed": "1.8.2-aikido.1"
                },
                {
                  "fixed": "1.8.0-aikido.1"
                },
                {
                  "fixed": "1.8.2-aikido.2"
                },
                {
                  "fixed": "1.7.2-aikido.1"
                },
                {
                  "fixed": "1.6.3-aikido.4"
                },
                {
                  "fixed": "1.8.1-aikido.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.6.3-root.io.3",
              "1.8.1-root.io.1",
              "1.7.2-root.io.2",
              "1.8.0-root.io.2",
              "1.7.3-root.io.1",
              "1.8.3-root.io.2",
              "1.8.3-root.io.3",
              "1.7.3-root.io.2",
              "1.8.2-root.io.1",
              "1.8.0-root.io.1",
              "1.8.2-root.io.2",
              "1.7.2-root.io.1",
              "1.6.3-root.io.4",
              "1.8.1-root.io.2"
            ],
            "root_patch_version": "root.io.2",
            "root_patched": true,
            "total_fixed_versions": 14,
            "upstream_version": "1.8.1"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "@rootio/shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.3-root.io.3"
                },
                {
                  "fixed": "1.8.1-root.io.1"
                },
                {
                  "fixed": "1.7.2-root.io.2"
                },
                {
                  "fixed": "1.8.0-root.io.2"
                },
                {
                  "fixed": "1.7.3-root.io.1"
                },
                {
                  "fixed": "1.8.3-root.io.2"
                },
                {
                  "fixed": "1.8.3-root.io.3"
                },
                {
                  "fixed": "1.7.3-root.io.2"
                },
                {
                  "fixed": "1.8.2-root.io.1"
                },
                {
                  "fixed": "1.8.0-root.io.1"
                },
                {
                  "fixed": "1.8.2-root.io.2"
                },
                {
                  "fixed": "1.7.2-root.io.1"
                },
                {
                  "fixed": "1.6.3-root.io.4"
                },
                {
                  "fixed": "1.8.1-root.io.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "distro": "npm",
        "distro_version": "",
        "severity": "CRITICAL",
        "source": "Root"
      },
      "details": "Root has patched CVE-2026-9277 in the shell-quote package for Root:npm. Multiple fixed versions available.",
      "id": "ROOT-APP-NPM-CVE-2026-9277",
      "modified": "2026-11-23T07:08:06Z",
      "published": "2026-11-23T07:08:06Z",
      "schema_version": "1.6.0",
      "summary": "CVE-2026-9277 in shell-quote - Patched by Root",
      "upstream": [
        "CVE-2026-9277"
      ]
    }

    ROOT-APP-NPM-CVE-2026-13311 (CVE-2026-13311)

    Vulnerability from osv_root – Published: 2026-11-23 07:08 – Updated: 2026-11-23 07:08 – Source website
    VLAI
    Summary
    CVE-2026-13311 in shell-quote - Patched by Root
    Details

    Root has patched CVE-2026-13311 in the shell-quote package for Root:npm. Multiple fixed versions available.

    Upstream
    Impacted products
    Ecosystem Package Version
    Root:npm shell-quote
    Affected: < 1.7.2-aikido.2, < 1.8.0-aikido.2, < 1.8.3-aikido.3, < 1.7.3-aikido.2, < 1.8.2-aikido.2, < 1.8.4-aikido.2, < 1.6.3-aikido.4, < 1.8.1-aikido.2 (ecosystem)
    Root:npm @rootio/shell-quote
    Affected: < 1.7.2-root.io.2, < 1.8.0-root.io.2, < 1.8.3-root.io.3, < 1.7.3-root.io.2, < 1.8.2-root.io.2, < 1.8.4-root.io.2, < 1.6.3-root.io.4, < 1.8.1-root.io.2 (ecosystem)

    {
      "affected": [
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.7.2-aikido.2",
              "1.8.0-aikido.2",
              "1.8.3-aikido.3",
              "1.7.3-aikido.2",
              "1.8.2-aikido.2",
              "1.8.4-aikido.2",
              "1.6.3-aikido.4",
              "1.8.1-aikido.2"
            ],
            "root_patch_version": "aikido.2",
            "root_patched": true,
            "total_fixed_versions": 8,
            "upstream_version": "1.8.1"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.2-aikido.2"
                },
                {
                  "fixed": "1.8.0-aikido.2"
                },
                {
                  "fixed": "1.8.3-aikido.3"
                },
                {
                  "fixed": "1.7.3-aikido.2"
                },
                {
                  "fixed": "1.8.2-aikido.2"
                },
                {
                  "fixed": "1.8.4-aikido.2"
                },
                {
                  "fixed": "1.6.3-aikido.4"
                },
                {
                  "fixed": "1.8.1-aikido.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.7.2-root.io.2",
              "1.8.0-root.io.2",
              "1.8.3-root.io.3",
              "1.7.3-root.io.2",
              "1.8.2-root.io.2",
              "1.8.4-root.io.2",
              "1.6.3-root.io.4",
              "1.8.1-root.io.2"
            ],
            "root_patch_version": "root.io.2",
            "root_patched": true,
            "total_fixed_versions": 8,
            "upstream_version": "1.8.1"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "@rootio/shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.2-root.io.2"
                },
                {
                  "fixed": "1.8.0-root.io.2"
                },
                {
                  "fixed": "1.8.3-root.io.3"
                },
                {
                  "fixed": "1.7.3-root.io.2"
                },
                {
                  "fixed": "1.8.2-root.io.2"
                },
                {
                  "fixed": "1.8.4-root.io.2"
                },
                {
                  "fixed": "1.6.3-root.io.4"
                },
                {
                  "fixed": "1.8.1-root.io.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "distro": "npm",
        "distro_version": "",
        "severity": "HIGH",
        "source": "Root"
      },
      "details": "Root has patched CVE-2026-13311 in the shell-quote package for Root:npm. Multiple fixed versions available.",
      "id": "ROOT-APP-NPM-CVE-2026-13311",
      "modified": "2026-11-23T07:08:06Z",
      "published": "2026-11-23T07:08:06Z",
      "schema_version": "1.6.0",
      "summary": "CVE-2026-13311 in shell-quote - Patched by Root",
      "upstream": [
        "CVE-2026-13311"
      ]
    }

    ROOT-APP-NPM-CVE-2021-42740 (CVE-2021-42740)

    Vulnerability from osv_root – Published: 2026-11-23 07:07 – Updated: 2026-11-23 07:07 – Source website
    VLAI
    Summary
    CVE-2021-42740 in shell-quote - Patched by Root
    Details

    Root has patched CVE-2021-42740 in the shell-quote package for Root:npm. Multiple fixed versions available.

    Upstream
    Impacted products
    Ecosystem Package Version
    Root:npm shell-quote
    Affected: < 1.6.3-aikido.2, < 1.6.3-aikido.3, < 1.7.2-aikido.2, < 1.7.2-aikido.1, < 1.6.3-aikido.4 (ecosystem)
    Root:npm @rootio/shell-quote
    Affected: < 1.6.3-root.io.2, < 1.6.3-root.io.1, < 1.6.3-root.io.3, < 1.7.2-root.io.2, < 1.7.2-root.io.1, < 1.6.3-root.io.4 (ecosystem)

    {
      "affected": [
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.6.3-aikido.2",
              "1.6.3-aikido.3",
              "1.7.2-aikido.2",
              "1.7.2-aikido.1",
              "1.6.3-aikido.4"
            ],
            "root_patch_version": "aikido.4",
            "root_patched": true,
            "total_fixed_versions": 5,
            "upstream_version": "1.6.3"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.3-aikido.2"
                },
                {
                  "fixed": "1.6.3-aikido.3"
                },
                {
                  "fixed": "1.7.2-aikido.2"
                },
                {
                  "fixed": "1.7.2-aikido.1"
                },
                {
                  "fixed": "1.6.3-aikido.4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.6.3-root.io.2",
              "1.6.3-root.io.1",
              "1.6.3-root.io.3",
              "1.7.2-root.io.2",
              "1.7.2-root.io.1",
              "1.6.3-root.io.4"
            ],
            "root_patch_version": "root.io.4",
            "root_patched": true,
            "total_fixed_versions": 6,
            "upstream_version": "1.6.3"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "@rootio/shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.3-root.io.2"
                },
                {
                  "fixed": "1.6.3-root.io.1"
                },
                {
                  "fixed": "1.6.3-root.io.3"
                },
                {
                  "fixed": "1.7.2-root.io.2"
                },
                {
                  "fixed": "1.7.2-root.io.1"
                },
                {
                  "fixed": "1.6.3-root.io.4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "distro": "npm",
        "distro_version": "",
        "severity": "CRITICAL",
        "source": "Root"
      },
      "details": "Root has patched CVE-2021-42740 in the shell-quote package for Root:npm. Multiple fixed versions available.",
      "id": "ROOT-APP-NPM-CVE-2021-42740",
      "modified": "2026-11-23T07:07:45Z",
      "published": "2026-11-23T07:07:45Z",
      "schema_version": "1.6.0",
      "summary": "CVE-2021-42740 in shell-quote - Patched by Root",
      "upstream": [
        "CVE-2021-42740"
      ]
    }

    ROOT-APP-NPM-CVE-2026-102422 (CVE-2026-102422)

    Vulnerability from osv_root – Published: 2026-11-23 06:53 – Updated: 2026-11-23 06:53 – Source website
    VLAI
    Summary
    CVE-2026-102422 in shell-quote - Patched by Root
    Details

    Root has patched CVE-2026-102422 in the shell-quote package for Root:npm. Multiple fixed versions available.

    Upstream
    Impacted products
    Ecosystem Package Version
    Root:npm shell-quote
    Affected: < 1.9.0-aikido.1, < 1.10.0-aikido.1, < 1.8.4-aikido.1, < 1.8.4-aikido.2 (ecosystem)
    Root:npm @rootio/shell-quote
    Affected: < 1.9.0-root.io.1, < 1.10.0-root.io.1, < 1.8.4-root.io.1, < 1.8.4-root.io.2 (ecosystem)

    {
      "affected": [
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.9.0-aikido.1",
              "1.10.0-aikido.1",
              "1.8.4-aikido.1",
              "1.8.4-aikido.2"
            ],
            "root_patch_version": "aikido.2",
            "root_patched": true,
            "total_fixed_versions": 4,
            "upstream_version": "1.8.4"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.0-aikido.1"
                },
                {
                  "fixed": "1.10.0-aikido.1"
                },
                {
                  "fixed": "1.8.4-aikido.1"
                },
                {
                  "fixed": "1.8.4-aikido.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        },
        {
          "database_specific": {
            "all_fixed_versions": [
              "1.9.0-root.io.1",
              "1.10.0-root.io.1",
              "1.8.4-root.io.1",
              "1.8.4-root.io.2"
            ],
            "root_patch_version": "root.io.2",
            "root_patched": true,
            "total_fixed_versions": 4,
            "upstream_version": "1.8.4"
          },
          "package": {
            "ecosystem": "Root:npm",
            "name": "@rootio/shell-quote"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.0-root.io.1"
                },
                {
                  "fixed": "1.10.0-root.io.1"
                },
                {
                  "fixed": "1.8.4-root.io.1"
                },
                {
                  "fixed": "1.8.4-root.io.2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "distro": "npm",
        "distro_version": "",
        "severity": "CRITICAL",
        "source": "Root"
      },
      "details": "Root has patched CVE-2026-102422 in the shell-quote package for Root:npm. Multiple fixed versions available.",
      "id": "ROOT-APP-NPM-CVE-2026-102422",
      "modified": "2026-11-23T06:53:43Z",
      "published": "2026-11-23T06:53:43Z",
      "schema_version": "1.6.0",
      "summary": "CVE-2026-102422 in shell-quote - Patched by Root",
      "upstream": [
        "CVE-2026-102422"
      ]
    }

    CVE-2026-13311 (GCVE-0-2026-13311)

    Vulnerability from nvd – Published: 2026-06-25 04:48 – Updated: 2026-06-25 12:49
    VLAI
    Title
    shell-quote parse() is quadratic in token count, enabling denial of service
    Summary
    shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.
    SSVC
    Exploitation: poc Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-25 12:49 UTC
    CWE
    • CWE-407 - Inefficient Algorithmic Complexity
    Assigner
    harborist CNA under the redhat root
    CNA scorecard B 87/100 over 21 records in the last 180 days details
    Impacted products
    Vendor Product Version
    ljharb shell-quote Affected: 0 , ≤ 1.8.4 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-13311",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-25T12:49:33.455269Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-25T12:49:41.978Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gv"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.npmjs.com/package",
              "defaultStatus": "unaffected",
              "packageName": "shell-quote",
              "product": "shell-quote",
              "vendor": "ljharb",
              "versions": [
                {
                  "lessThanOrEqual": "1.8.4",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "bibu123456"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Kayiz-PT"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "ljharb"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eshell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.\u003c/p\u003e"
                }
              ],
              "value": "shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation - a small crafted input forces parse() into quadratic-time work, exhausting CPU and blocking the single-threaded Node.js event loop, resulting in denial of service (availability only)."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "exploitMaturity": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            },
            {
              "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-407",
                  "description": "CWE-407 Inefficient Algorithmic Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-06-25T04:48:36.351Z",
            "orgId": "7ffcee3d-2c14-4c3e-b844-86c6a321a158",
            "shortName": "harborist"
          },
          "references": [
            {
              "name": "GHSA-395f-4hp3-45gv",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gv"
            },
            {
              "tags": [
                "product"
              ],
              "url": "https://www.npmjs.com/package/shell-quote"
            }
          ],
          "title": "shell-quote parse() is quadratic in token count, enabling denial of service"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7ffcee3d-2c14-4c3e-b844-86c6a321a158",
        "assignerShortName": "harborist",
        "cveId": "CVE-2026-13311",
        "datePublished": "2026-06-25T04:48:36.351Z",
        "dateReserved": "2026-06-25T04:39:03.579Z",
        "dateUpdated": "2026-06-25T12:49:41.978Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-13311 (GCVE-0-2026-13311)

    Vulnerability from cvelistv5 – Published: 2026-06-25 04:48 – Updated: 2026-06-25 12:49
    VLAI
    Title
    shell-quote parse() is quadratic in token count, enabling denial of service
    Summary
    shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.
    SSVC
    Exploitation: poc Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-06-25 12:49 UTC
    CWE
    • CWE-407 - Inefficient Algorithmic Complexity
    Assigner
    harborist CNA under the redhat root
    CNA scorecard B 87/100 over 21 records in the last 180 days details
    Impacted products
    Vendor Product Version
    ljharb shell-quote Affected: 0 , ≤ 1.8.4 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-13311",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-06-25T12:49:33.455269Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-06-25T12:49:41.978Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gv"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.npmjs.com/package",
              "defaultStatus": "unaffected",
              "packageName": "shell-quote",
              "product": "shell-quote",
              "vendor": "ljharb",
              "versions": [
                {
                  "lessThanOrEqual": "1.8.4",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "bibu123456"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Kayiz-PT"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "ljharb"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eshell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.\u003c/p\u003e"
                }
              ],
              "value": "shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-130 Excessive Allocation - a small crafted input forces parse() into quadratic-time work, exhausting CPU and blocking the single-threaded Node.js event loop, resulting in denial of service (availability only)."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "exploitMaturity": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            },
            {
              "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-407",
                  "description": "CWE-407 Inefficient Algorithmic Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-06-25T04:48:36.351Z",
            "orgId": "7ffcee3d-2c14-4c3e-b844-86c6a321a158",
            "shortName": "harborist"
          },
          "references": [
            {
              "name": "GHSA-395f-4hp3-45gv",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gv"
            },
            {
              "tags": [
                "product"
              ],
              "url": "https://www.npmjs.com/package/shell-quote"
            }
          ],
          "title": "shell-quote parse() is quadratic in token count, enabling denial of service"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7ffcee3d-2c14-4c3e-b844-86c6a321a158",
        "assignerShortName": "harborist",
        "cveId": "CVE-2026-13311",
        "datePublished": "2026-06-25T04:48:36.351Z",
        "dateReserved": "2026-06-25T04:39:03.579Z",
        "dateUpdated": "2026-06-25T12:49:41.978Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }