The sandbox issues on WSL

Issues the maintainers labelled both platform:wsl and area:sandbox.

50 issues · 13 open · 37 resolved (74%) · first seen Feb 25, 2026

Is this getting better or worse?

This class of problem is converging. 18 new reports in the last 90 days vs 29 in the 90 before — -38%. The open backlog peaked at 13 in 2026-04 and sits at 13 today.

0 3 7 10 13 2026-022026-042026-062026-08
2026-02 — First reports2026-04 — Peak backlog (13 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

32 of these reports name the Claude Code build they were running, spanning 29 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 32 days across 37 closures. Of the 37 closures with a recorded reason, 38% were closed as completed and 23 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

20 of these issues post a workaround someone says worked. The highest-engagement ones:

`--permission-mode dontAsk` bypasses `autoAllowBashIfSandboxed` for Bash commands containing shell variable expansion
…ntically relevant (e.g. from a prompt that passes via env). Workarounds require rewriting commands to read env values separately and inline them, which is not always feasible for generated tool calls. Likely 2.1.113 prov…
Found in the description of #51001 · resolved
Linux sandbox: recursive Read() deny globs expand to per-file bwrap binds → E2BIG on every command (incl. echo hello) when a denied directory holds many files
…n is dropped — this would at least make the directory-level workaround effective. 4. Guardrail. Detect when the generated bind argv would exceed / and emit a clear diagnostic (which glob expanded to how many paths) inste…
Found in the description of #74081 · still open
[BUG] WSL2: Bash tool fails with E2BIG because Claude wraps bubblewrap in single /bin/bash -c string exceeding Linux MAX_ARG_STRLEN
…Observe: the tool call fails immediately with and . Minimal workaround confirmed: collapsing to a single broad entry (e.g. ) with narrow carve-outs for the binaries/caches/paths actually needed reduces bwrap argv below t…
Found in the description of #51126 · resolved
[BUG] recent seccomp change for /sandbox broke executing Windows tools from WSL
…ool : No Windows executable can be called from the sandbox. Workarounds Attempted - Adding to in - no effect (blocked at syscall level, not filesystem level) - Adding to - no effect (same reason) - Only workaround is dis…
Found in the description of #45072 · resolved
Sandbox masks nonexistent deny-listed paths as unreadable device nodes - breaks plain git whenever `extensions.worktreeConfig` is enabled
…ken in the sandbox" with no obvious cause, and the standard workarounds (disable sandbox per-command, or to avoid local git) hide the diagnosis. A second, cosmetic effect: with git working, sandboxed lists the other inje…
Found in the description of #76558 · still open

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–50

Ranked by community engagement (reactions weighted over comments).

Related aggregations

  1. The sandbox issues on macOS

    231 issues
  2. The sandbox issues on Linux

    150 issues
  3. The sandbox issues on Windows

    72 issues
  4. Terminal UI issues on WSL

    155 issues
  5. Core CLI issues on WSL

    83 issues
  6. Model behaviour issues on WSL

    79 issues
  7. Agents issues on WSL

    67 issues
  8. IDE integration issues on WSL

    58 issues