---
title: "ljharb shell-quote vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/ljharb/shell-quote
type: product
description: "ljharb shell-quote has 5 published CVEs, 0 in CISA KEV and 3 with public exploits."
updated: 2026-09-29
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# ljharb shell-quote vulnerabilities

Vendor: [ljharb](https://radicalnotion.ai/vendor/ljharb)

- **Published CVEs:** 5
- **In CISA KEV:** 0
- **With a public exploit:** 3
- **With a patch:** 5
- **Average CVSS:** 9.3
- **First CVE:** 2018-05-31
- **Latest CVE:** 2026-09-29
- **Ecosystems:** npm

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 4 |
| High | 1 |
| Medium | 0 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-78](https://radicalnotion.ai/cwe/cwe-78) | Improper Neutralization of Special Elements used in an OS Command | 3 |
| [CWE-407](https://radicalnotion.ai/cwe/cwe-407) | Inefficient Algorithmic Complexity | 1 |
| [CWE-77](https://radicalnotion.ai/cwe/cwe-77) | Improper Neutralization of Special Elements used in a Command | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2018 | 1 |
| 2019 | 0 |
| 2020 | 0 |
| 2021 | 1 |
| 2022 | 0 |
| 2023 | 0 |
| 2024 | 0 |
| 2025 | 0 |
| 2026 | 3 |

## Affected versions (top 17 of 37)

| Version | Kind | CVEs |
| --- | --- | --- |
| 1.1.0 | exact | 4 |
| 1.2.0 | exact | 4 |
| 1.3.0 | exact | 4 |
| 1.3.1 | exact | 4 |
| 1.3.2 | exact | 4 |
| 1.3.3 | exact | 4 |
| 1.4.0 | exact | 4 |
| 1.4.1 | exact | 4 |
| 1.4.2 | exact | 4 |
| 1.4.3 | exact | 4 |
| 1.5.0 | exact | 4 |
| 1.6.0 | exact | 4 |
| \< 1.9.0 | range | 1 |
| \<= 1.8.4 | range | 1 |
| 1.1.0 \<= v \< 1.8.4 | range | 1 |
| 1.6.3 \<= v \< 1.7.3 | range | 1 |
| 1.8.4 \<= v \< 1.11.0 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 1.11.0 | 1 |
| 1.7.3 | 1 |
| 1.8.4 | 1 |
| 1.9.0 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-102422 | shell-quote \`quote()\` command injection via a line terminator in a token after a \`{ comment }\` token | critical | 9.2 | No | No | Yes |
| CVE-2026-13311 | shell-quote parse() is quadratic in token count, enabling denial of service | high | 8.7 | No | Yes | Yes |
| CVE-2026-9277 | shell-quote \`quote()\` does not validate object-token shapes, allowing command injection via line terminators in \`.op\` | critical | 9.2 | No | Yes | Yes |
| CVE-2021-42740 | Improper Neutralization of Special Elements used in a Command in Shell-quote | critical | 9.8 | No | No | Yes |
| CVE-2016-10541 | Potential Command Injection in shell-quote | critical | 9.8 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does ljharb shell-quote have?

ljharb shell-quote has 5 published CVE records since 2018.

### How many ljharb shell-quote CVEs are in CISA KEV?

None of ljharb shell-quote's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for ljharb shell-quote vulnerabilities?

Yes — 3 of ljharb shell-quote's CVEs have a known public exploit.

### Which versions of ljharb shell-quote are affected?

41 distinct ljharb shell-quote versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in ljharb shell-quote CVEs?

ljharb shell-quote's CVEs most often map to these CWE weakness types: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-407 (Inefficient Algorithmic Complexity), CWE-77 (Improper Neutralization of Special Elements used in a Command).

### How many critical ljharb shell-quote vulnerabilities are there?

ljharb shell-quote has 4 critical and 1 high-severity CVEs.

### What is the average severity of ljharb shell-quote CVEs?

The average CVSS base score across ljharb shell-quote's scored CVEs is 9.3.

## Other products from this vendor

- [qs](https://radicalnotion.ai/vendor/ljharb/qs) (9 CVEs)
- [js-traverse](https://radicalnotion.ai/vendor/ljharb/js-traverse) (1 CVEs)
- [ljharb/npm-lockfile](https://radicalnotion.ai/vendor/ljharb/ljharb-npm-lockfile) (1 CVEs)
- [npm-lockfile](https://radicalnotion.ai/vendor/ljharb/npm-lockfile) (1 CVEs)
- [traverse](https://radicalnotion.ai/vendor/ljharb/traverse) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/ljharb/shell-quote). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
