CVE-2021-23326
HIGH 8.8CVSS 3.1Command Injection in @graphql-tools/git-loader
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.
- Published
- 20 Jan 2021
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-vhhw-xjvf-wprrSNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
- Sources
- NVDJSONOSV GHSA-vhhw-xjvf-wprrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | the-guild | graphql-toolscpe:2.3:a:the-guild:graphql-tools:*:*:*:*:*:*:*:* |
< 6.2.6 | 6.2.6 |
| OSV | npm | @graphql-tools/git-loader | < 6.2.6 | 6.2.6 |
References
- https://advisory.checkmarx.net/advisory/CX-2020-4300 · Third Party Advisory, WEB
- https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac · Patch, Third Party Advisory, WEB
- https://github.com/ardatan/graphql-tools/pull/2470 · Patch, Third Party Advisory, WEB
- https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6 · Release Notes, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543 · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23326 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 20 Jan 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jan 2021)