CVE-2021-23326 json
Command Injection
published 2021-01-20 5 y ago modified 2026-07-08 4 mo ago also GHSA-vhhw-xjvf-wprr , EUVD-2021-0518
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
This affects the package @graphql-tools/git-loader before 6.2.6. The use of exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection.
Patch / fix
- npm @graphql-tools/git-loader 6.2.6
- n/a @graphql-tools/git-loader 6.2.6
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-23326 updated cvss 8.8
graphql-tools/git-loader: exec and execSync in packages/loaders/git/src/load-git.ts allows arbitrary command injection.
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-api-rhel8, rhacm2/search-api-rhel8, rhacm2/console-api-rhel8, rhacm2/mcm-topology-api-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.85% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @graphql-tools/git-loader | <6.2.6 |
6.2.6 |
Affected products
- n/a @graphql-tools/git-loader
Classification
References
-
github.com
/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac
web, patch, third-party-advisory
-
github.com
/ardatan/graphql-tools/pull/2470
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
web, product, third-party-advisory
-
github.com
/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6
web, release-notes, third-party-advisory
-
advisory.checkmarx.net
/advisory/CX-2020-4300
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23326
advisory
Sources
- CVE List CVE-2021-23326
- GitHub Advisory GHSA-vhhw-xjvf-wprr
- NVD CVE-2021-23326
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.