{"id":"CVE-2021-23326","aliases":["EUVD-2021-0518","GHSA-vhhw-xjvf-wprr","SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543"],"status":"published","title":"Command Injection","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.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02848,"percentile":0.86817,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-78"],"published":"2021-01-20T12:30:15Z","modified":"2026-10-20T10:54:34Z","fixes":[{"ecosystem":"npm","package":"@graphql-tools/git-loader","fixed_in":["6.2.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@graphql-tools/git-loader","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.6"}]}]},{"source":"osv","ecosystem":"npm","package":"@graphql-tools/git-loader","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.2.6"}]}]}],"products":[{"vendor":"the-guild","product":"graphql-tools"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/ardatan/graphql-tools/pull/2470","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4300","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23326","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vhhw-xjvf-wprr"}],"sources":{"cve":[{"id":"CVE-2021-23326","title":"Command Injection","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.","status":"published","published":"2021-01-20T12:30:15.626Z","modified":"2024-09-17T02:15:33.53Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-0518","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.","status":"published","published":"2021-01-20T12:30:15Z","modified":"2024-09-17T02:15:33Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T00:28:42.412483Z"}],"ghsa":[{"id":"GHSA-vhhw-xjvf-wprr","title":"Command Injection in @graphql-tools/git-loader","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.","status":"published","published":"2021-01-29T18:13:14Z","modified":"2023-02-01T05:05:15Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:33.613868Z"}],"nvd":[{"id":"CVE-2021-23326","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.","status":"published","published":"2021-01-20T13:15:12.893Z","modified":"2026-06-17T03:38:33.71Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:49.284888Z"}],"osv":[{"id":"CVE-2021-23326","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.","status":"published","published":"2021-01-20T13:15:12.893Z","modified":"2026-10-20T10:54:34.763155814Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"GHSA-vhhw-xjvf-wprr","title":"Command Injection in @graphql-tools/git-loader","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.","status":"published","published":"2021-01-29T18:13:14Z","modified":"2026-07-08T06:49:38.214805449Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:57.348035Z"}]}}
