{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:the-guild:graphql-tools:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.2.6"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "69d8499f0fff1bb9b8fd9c2149788ed9f5578504"
            },
            {
              "fixed": "6a966beee8ca8b2f4adfe93318b96e4a5c501eac"
            }
          ],
          "repo": "https://github.com/ardatan/graphql-tools",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543"
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2021-23326",
  "modified": "2026-07-08T05:36:57.424095410Z",
  "published": "2021-01-20T13:15:12.893Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisory.checkmarx.net/advisory/CX-2020-4300"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ardatan/graphql-tools/releases/tag/%40graphql-tools%2Fgit-loader%406.2.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://snyk.io/vuln/SNYK-JS-GRAPHQLTOOLSGITLOADER-1062543"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ardatan/graphql-tools/commit/6a966beee8ca8b2f4adfe93318b96e4a5c501eac"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ardatan/graphql-tools/pull/2470"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}