Loading advisory.
Loading advisory.
ZeptoClaw: Path boundary checks bypass via symlink, TOCTOU, and hardlink
Workspace boundary enforcement currently has three related bypass risks. This issue tracks fixing all three in one pull request.
Published 2026-03-12 16:37 UTC · Modified 2026-03-14 01:56 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| zeptoclaw | crates.io | < 0.7.6 | 0.7.6 | cargo add zeptoclaw@0.7.6 |
Workspace boundary enforcement currently has three related bypass risks. This issue tracks fixing all three in one pull request.
What happens: Path validation can miss dangling symlink components during traversal checks.
Why it matters: A symlink that is unresolved at validation time can later resolve to an external location.
Impact: Read and write operations may escape workspace boundaries.
Affected area: src/security/path.rs (check_symlink_escape).
What happens: The path is validated first, then used later for filesystem operations.
Why it matters: A concurrent filesystem change can swap path components after validation but before open/write.
Impact: Race-based workspace escape is possible.
Affected area: Filesystem and file-consuming tools that call validate_path_in_workspace before I/O.
What happens: A file inside workspace can be a hardlink to an inode outside the intended workspace trust boundary.
Why it matters: Prefix and symlink checks can pass while data access still mutates or reads external content.
Impact: Policy bypass for read/write operations.
Affected area: Any tool that reads or writes via validated paths.
| ID | Risk | Severity | Likelihood | Impact | |---|---|---|---|---| | R1 | Dangling symlink component bypass | High | Medium | Workspace boundary escape for read/write | | R2 | Validate/use TOCTOU race | High | Medium | Race-based boundary escape during file I/O | | R3 | Hardlink alias bypass | Medium | Low-Medium | External inode read/write through in-workspace path |
Create a symlink inside workspace pointing to a missing target.
Validate a path traversing that symlink.
Create the target directory outside workspace after validation.
Perform file operation and observe potential boundary escape if not fail-closed.
Validate a candidate in-workspace path.
Before open/write, replace an intermediate component with a link to external location.
Continue with the file operation.
Observe boundary escape if operation trusts only stale validation result.
Place a hardlink inside workspace that points to an external inode.
Validate the in-workspace hardlink path.
Read or write through this path.
Observe external inode access through a path that appears in-scope.
Unauthorized cross path boundary
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.007 on 2026-11-24 to 0.009 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |
| 2026-11-26 | 0.009 | 0.007 | v2026.06.15 |