Skip to content
Heist/ feed
Back to feed
Medium

OpenClaw File Existence tools.exec.safeBins information exposure

Type: advisorySources: OSV

A vulnerability was identified in OpenClaw up to 2026.2.17. This issue affects the function tools.exec.safeBins of the component File Existence Handler. The manipulation leads to information exposure through discrepancy. The attack needs to be performed locally. Upgrading to version 2026.2.19-beta.1 is capable of addressing this issue. The identifier of the patch is bafdbb6f112409a65decd3d4e7350fbd637c7754. Upgrading the affected component is advised.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-4040
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:39 UTC · Revision 1

Source evidence

OpenClaw File Existence tools.exec.safeBins information exposure

core-osv · Original source

Published 12 Mar 2026, 12:02 UTC

A vulnerability was identified in OpenClaw up to 2026.2.17. This issue affects the function tools.exec.safeBins of the component File Existence Handler. The manipulation leads to information exposure through discrepancy. The attack needs to be performed locally. Upgrading to version 2026.2.19-beta.1 is capable of addressing this issue. The identifier of the patch is bafdbb6f112409a65decd3d4e7350fbd637c7754. Upgrading the affected component is advised.

osv:CVE-2026-4040
Complete source record
{
  "id": "aeba1e2e59a271a4fc14c64c728d6b0f1dcc37026aa8d49ece67f5063efd78f2",
  "url": "https://osv.dev/vulnerability/CVE-2026-4040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenClaw File Existence tools.exec.safeBins information exposure",
    "summary": "A vulnerability was identified in OpenClaw up to 2026.2.17. This issue affects the function tools.exec.safeBins of the component File Existence Handler. The manipulation leads to information exposure through discrepancy. The attack needs to be performed locally. Upgrading to version 2026.2.19-beta.1 is capable of addressing this issue. The identifier of the patch is bafdbb6f112409a65decd3d4e7350fbd637c7754. Upgrading the affected component is advised.",
    "evidence": "osv:CVE-2026-4040",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-4040",
      "aliases": [
        "CVE-2026-4040",
        "GHSA-6c9j-x93c-rw6j"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openclaw/openclaw",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d842b28a1517f95aae2a5bcd97f2f726e42b93d8"
                },
                {
                  "fixed": "bafdbb6f112409a65decd3d4e7350fbd637c7754"
                },
                {
                  "fixed": "2c05cbb43e48ebad03626d3125746fb1b9a8520f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2026.2.1"
                      },
                      {
                        "last_affected": "2026.2.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.2"
                      },
                      {
                        "last_affected": "2026.2.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.3"
                      },
                      {
                        "last_affected": "2026.2.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.6"
                      },
                      {
                        "last_affected": "2026.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.9"
                      },
                      {
                        "last_affected": "2026.2.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.12"
                      },
                      {
                        "last_affected": "2026.2.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.13"
                      },
                      {
                        "last_affected": "2026.2.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.14"
                      },
                      {
                        "last_affected": "2026.2.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2026.2.17"
                      },
                      {
                        "last_affected": "2026.2.17"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bafdbb6f112409a65decd3d4e7350fbd637c7754"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2c05cbb43e48ebad03626d3125746fb1b9a8520f"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2026.2.19-beta.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2026.2.1",
            "2026.2.12",
            "2026.2.13",
            "2026.2.14",
            "2026.2.17",
            "2026.2.2",
            "2026.2.3",
            "2026.2.6",
            "2026.2.9",
            "v2026.2.17",
            "v2026.2.15-beta.1",
            "v2026.2.14",
            "v2026.2.13",
            "v2026.2.12",
            "v2026.2.9",
            "v2026.2.6-3",
            "v2026.2.6-2",
            "v2026.2.6-1",
            "v2026.2.6",
            "v2026.2.3",
            "v2026.2.2",
            "v2026.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4040.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.409355144Z",
      "provider": "osv",
      "references": [
        "https://github.com/openclaw/openclaw/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4040.json",
        "https://github.com/openclaw/openclaw/security/advisories/GHSA-6c9j-x93c-rw6j",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-4040",
        "https://vuldb.com/?id.350652",
        "https://vuldb.com/?submit.769581",
        "https://vuldb.com/?ctiid.350652",
        "https://github.com/openclaw/openclaw/commit/bafdbb6f112409a65decd3d4e7350fbd637c7754",
        "https://github.com/openclaw/openclaw/releases/tag/v2026.2.19-beta.1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200",
          "CWE-203"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2026.2.0"
                  },
                  {
                    "last_affected": "2026.2.0"
                  },
                  {
                    "introduced": "2026.2.4"
                  },
                  {
                    "last_affected": "2026.2.4"
                  },
                  {
                    "introduced": "2026.2.5"
                  },
                  {
                    "last_affected": "2026.2.5"
                  },
                  {
                    "introduced": "2026.2.7"
                  },
                  {
                    "last_affected": "2026.2.7"
                  },
                  {
                    "introduced": "2026.2.8"
                  },
                  {
                    "last_affected": "2026.2.8"
                  },
                  {
                    "introduced": "2026.2.10"
                  },
                  {
                    "last_affected": "2026.2.10"
                  },
                  {
                    "introduced": "2026.2.11"
                  },
                  {
                    "last_affected": "2026.2.11"
                  },
                  {
                    "introduced": "2026.2.15"
                  },
                  {
                    "last_affected": "2026.2.15"
                  },
                  {
                    "introduced": "2026.2.16"
                  },
                  {
                    "last_affected": "2026.2.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4040.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-4040",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488676,
  "published_at": "2026-03-12T12:02:14.14+00:00"
}