{"api_version":"1","generated_at":"2026-07-23T13:05:38+00:00","cve":"CVE-2021-23326","urls":{"html":"https://cve.report/CVE-2021-23326","api":"https://cve.report/api/cve/CVE-2021-23326.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23326","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23326"},"summary":{"title":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2021-01-20 13:15:00","updated_at":"2022-06-28 14:11:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","name":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Fix vulnerability in git-loader: use execFile instead of exec (#2470) · ardatan/graphql-tools@6a966be · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","name":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"Release @graphql-tools/git-loader@6.2.6 · ardatan/graphql-tools · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4300","name":"https://advisory.checkmarx.net/advisory/CX-2020-4300","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","name":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","refsource":"MISC","tags":["Product","Third Party Advisory"],"title":"Command Injection in @graphql-tools/git-loader | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/ardatan/graphql-tools/pull/2470","name":"https://github.com/ardatan/graphql-tools/pull/2470","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Fix vulnerability in git-loader: use execFile instead of exec by dotansimha · Pull Request #2470 · ardatan/graphql-tools · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23326","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23326","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Dotan Simha","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"23326","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"the-guild","cpe5":"graphql-tools","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23326","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"the-guild","cpe5":"graphql-tools","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-23326","qid":"982830","title":"Nodejs (npm) Security Update for @graphql-tools/git-loader (GHSA-vhhw-xjvf-wprr)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-01-20T12:25:48.608630Z","ID":"CVE-2021-23326","STATE":"PUBLIC","TITLE":"Command Injection"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"@graphql-tools/git-loader","version":{"version_data":[{"version_affected":"<","version_value":"6.2.6"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543","name":"https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543"},{"refsource":"MISC","url":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac","name":"https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac"},{"refsource":"MISC","url":"https://github.com/ardatan/graphql-tools/pull/2470","name":"https://github.com/ardatan/graphql-tools/pull/2470"},{"refsource":"MISC","url":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6","name":"https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6"},{"refsource":"MISC","name":"https://advisory.checkmarx.net/advisory/CX-2020-4300","url":"https://advisory.checkmarx.net/advisory/CX-2020-4300"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Dotan Simha"}]},"nvd":{"publishedDate":"2021-01-20 13:15:00","lastModifiedDate":"2022-06-28 14:11:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:the-guild:graphql-tools:*:*:*:*:*:*:*:*","versionEndExcluding":"6.2.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"23326","Ordinal":"198053","Title":"CVE-2021-23326","CVE":"CVE-2021-23326","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"23326","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"23326","Ordinal":"2","NoteData":"2021-01-20","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"23326","Ordinal":"3","NoteData":"2021-03-30","Type":"Other","Title":"Modified"}]}}}