# GHSA-7ff8-xjh3-mgh6: OpenClaw's non-default autoAllowSkills setting could bypass on-miss exec prompt

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-03T22:13:53.000Z
- Modified: 2026-03-04T15:12:41.868Z
- Weaknesses: CWE-266, CWE-863

## Description

### Summary
In `openclaw` versions up to and including `2026.2.22-2`, a non-default exec-approval configuration could allow a skill-name collision to bypass an `ask=on-miss` prompt.

When `autoAllowSkills=true`, a path-scoped executable such as `./skill-bin` could resolve to basename `skill-bin`, satisfy the `skills` allowlist segment, and run without prompting for approval.

### Affected Packages / Versions
- Package: `npm openclaw`
- Affected versions: `<= 2026.2.22-2`
- Patched versions: `>= 2026.2.23` (released)

### Configuration Scope (Not Default)
This behavior requires non-default settings and does not affect default installs.

Required conditions:
- `autoAllowSkills=true` (default is `false`)
- `system.run` with `security=allowlist`
- `ask=on-miss`

### Technical Details
The allowlist evaluator accepted `skills` satisfaction by bin-name match, so `./skill-bin` could match `skillBins.has("skill-bin")` after resolution.

The fix hardens skill auto-allow matching by requiring:
- a pathless invocation token (no `/` or `\\`), and
- a trusted resolved executable path for that skill bin on the machine where skills run.

This preserves normal `skill-bin ...` behavior while preventing `./<skill-bin>` and absolute-path basename collisions from auto-satisfying `skills`.

### Impact
In affected non-default configurations, approval prompts could be skipped for commands that should have required operator confirmation.

### Fix Commit(s)
- `ffd63b7a2c4c6d5aeb4710ef951d5794ad7ad77b` (`fix(security): trust resolved skill-bin paths in allowlist auto-allow`)

OpenClaw thanks @tdjackey for reporting.

(As written by GitHub Advisory Database.)

## Affected

- openclaw (npm): before 2026.2.23

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-7ff8-xjh3-mgh6> (web)
- <https://github.com/openclaw/openclaw/commit/ffd63b7a2c4c6d5aeb4710ef951d5794ad7ad77b> (web)
- <https://github.com/openclaw/openclaw> (package)

## Sources

- GitHub Advisory Database: [GHSA-7ff8-xjh3-mgh6](https://github.com/advisories/GHSA-7ff8-xjh3-mgh6), CC-BY-4.0, modified 2026-03-04

---

Page: https://cve.day/GHSA-7ff8-xjh3-mgh6 · Whole record: https://cve.day/GHSA-7ff8-xjh3-mgh6.json · Rebuilt by cve.day 2026-11-25T22:56:44.534Z
