SecurityContext

CVE-2026-41373: OpenClaw - Remote Code Execution

  • Cve: CVE-2026-41373
  • Name: OpenClaw - Remote Code Execution
  • Description: OpenClaw before 2026.3.31 contains an incomplete host-env-security-policy.json that fails to restrict compiler binary environment variables, allowing untrusted models to substitute CC, CXX, CARGO_BUILD_RUSTC, and CMAKE_C_COMPILER via environment overrides. Attackers with approved host-exec requests can override compiler binaries to execute arbitrary code during build processes.
  • Impact: Attackers with approved host-exec requests can execute arbitrary code during build processes, potentially compromising the host system.
  • Remediation: Update to version 2026.3.31 or later.
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker needs approved host-exec requests
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
  • Epss score: 0.0013
  • Epss percentile: 0.02636
  • Assignee: [email protected]
  • Published at: 2026-04-28T19:37:39Z
  • Age in days: 210
  • Modified at: 2026-11-11T23:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-41373
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-427Uncontrolled Search Path Element

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afaPatch
https://github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9Vendor Advisory
https://www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variable-override-in-host-execution-policyThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openclaw:openclaw< 2026.3.31nonvd/v1/products/openclaw/openclaw

Projects

RepositoryLink kindsIndexedUrl
openclaw/openclawcommit, package, releases, security_advisoryyes/v1/repositories/openclaw/openclaw

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Packages: 1

Exploitation

  • Authentication required: yes
  • Exposed hosts: 28014
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports