# CVE-2021-23326: Command Injection

- Severity: Medium 6.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.85%, higher than 87% of CVEs (2026-12-01)
- Published: 2021-01-20T12:30:15.626Z
- Modified: 2026-07-08T06:49:38.214Z
- Also known as: GHSA-vhhw-xjvf-wprr, SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543
- Weaknesses: CWE-77, CWE-78
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- @graphql-tools/git-loader: from unspecified before 6.2.6
- @graphql-tools/git-loader (npm): before 6.2.6
- the-guild graphql-tools: before 6.2.6

## Every score

- snyk: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543> (product, 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://advisory.checkmarx.net/advisory/CX-2020-4300> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23326> (advisory)

## Sources

- CVE List: [CVE-2021-23326](https://www.cve.org/CVERecord?id=CVE-2021-23326), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-vhhw-xjvf-wprr](https://github.com/advisories/GHSA-vhhw-xjvf-wprr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23326](https://nvd.nist.gov/vuln/detail/CVE-2021-23326), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23326 · Whole record: https://cve.day/CVE-2021-23326.json · Rebuilt by cve.day 2026-11-25T22:57:59.523Z
