{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.2.21"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5e34eb98fb023900f455b7e94c681383da8256f2"
            },
            {
              "fixed": "2cdbadee1f8fcaa93302d7debbfc529e19868ea4"
            }
          ],
          "repo": "https://github.com/openclaw/openclaw",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8fmp-37rc-p5g7"
  ],
  "details": "OpenClaw versions prior to 2026.2.21 fail to filter dangerous process-control environment variables from config env.vars, allowing startup-time code execution. Attackers can inject variables like NODE_OPTIONS or LD_* through configuration to execute arbitrary code in the OpenClaw gateway service runtime context.",
  "id": "CVE-2026-22177",
  "modified": "2026-04-01T23:08:19.721113800Z",
  "published": "2026-03-18T02:16:21.957Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-8fmp-37rc-p5g7"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openclaw-environment-variable-injection-via-config-env-vars"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openclaw/openclaw/commit/2cdbadee1f8fcaa93302d7debbfc529e19868ea4"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}