{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2026.2.22"
              },
              {
                "fixed": "2026.4.12"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "a54dc7fe80fc02e2a02e6901668a468fcb0cf8b4"
            },
            {
              "fixed": "1c0672b74f66038fd4ee76fbf1c21715887149d8"
            },
            {
              "fixed": "8f8492d172f4c5b4fd7dd9a47855ed620c8770ab"
            }
          ],
          "repo": "https://github.com/openclaw/openclaw",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-j6c7-3h5x-99g9"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-184"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42435.json"
  },
  "details": "OpenClaw versions from 2026.2.22 before 2026.4.12 contain an insufficient shell-wrapper detection vulnerability allowing attackers to inject environment variable assignments at the argv level. Attackers can bypass exec preflight handling to manipulate high-risk shell variables like SHELLOPTS and PS4, affecting execution semantics and security controls.",
  "id": "CVE-2026-42435",
  "modified": "2026-07-08T05:38:35.736354053Z",
  "published": "2026-05-05T11:24:54.597Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42435.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openclaw/openclaw/security/advisories/GHSA-j6c7-3h5x-99g9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42435"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/openclaw-shell-wrapper-detection-bypass-via-environment-variable-assignment-injection"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openclaw/openclaw/commit/8f8492d172f4c5b4fd7dd9a47855ed620c8770ab"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenClaw 2026.2.22 \u003c 2026.4.12 - Shell-Wrapper Detection Bypass via Environment Variable Assignment Injection"
}