# NousResearch/hermes-agent · WSL external URL handling security and fix

## Open now

- 1 issue, 2 PRs open on GitHub.
- #126939: \[Security\] WSL external-link path hands a URL to \`cmd.exe\` with only a scheme allowlist, enabling \`&\`-delimited command execution
- PR #126968: fix(desktop): fail WSL link opens closed on cmd.exe metacharacters
- PR #129631: fix(desktop): hand WSL external URLs to rundll32, not cmd.exe

A security vulnerability was identified where external URLs in WSL were passed to cmd.exe in a way that allowed command injection via metacharacters like \`&\`. The related items address this by switching to rundll32 and blocking dangerous inputs.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #126939: \[Security\] WSL external-link path hands a URL to \`cmd.exe\` with only a scheme allowlist, enabling \`&\`-delimited command execution

## Prior & competing PRs

- **#126968: fix(desktop): fail WSL link opens closed on cmd.exe metacharacters**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#88558`, `#124314`
  - files: `apps/desktop/electron/external-open.test.ts`, `apps/desktop/electron/external-open.ts`
- **#126974: fix(desktop): hand WSL external URLs to rundll32 instead of cmd.exe start**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#129631`, `#129631`
- **#129631: fix(desktop): hand WSL external URLs to rundll32, not cmd.exe**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `apps/desktop/electron/external-open.test.ts`, `apps/desktop/electron/external-open.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
