# NousResearch/hermes-agent · TUI gateway profile param path traversal fix

## Open now

- Nothing open on GitHub.

A bug report and two related fixes addressing missing validation of the RPC profile parameter in the TUI gateway, which allowed the value to escape the profiles root directory via path traversal.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #110212. Verify it addresses your case.
- **Recommended:** read PR #110212 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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.40`: 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.

## Closed / duplicate issues

- #90699: \[Bug\]: TUI gateway RPC profile param escapes profiles root — no validate_profile_name on the _profile_home path

## Prior & competing PRs

- **#110212: Multiplexed profile lifecycle: webhook routes bind to a profile, RPC profile params fail closed, deleted profile is a typed RPC error (#109016 #107829 #108346)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/profiles.py`, `hermes_cli/subcommands/webhook.py`, `hermes_cli/webhook.py`, `tests/hermes_cli/test_profiles.py`, `tests/hermes_cli/test_webhook_cli.py`, `tests/tui_gateway/test_profile_target_unavailable.py`, `tui_gateway/mcp_rpc_helpers.py`, `tui_gateway/methods_profiles.py`, `tui_gateway/methods_tools.py`, `tui_gateway/server.py`, `website/docs/reference/cli-commands.md`, `website/docs/user-guide/messaging/webhooks.md`, `website/docs/user-guide/multi-profile-gateways.md`
- **#90715: fix(tui): validate the RPC profile param before any path resolution**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `a7254e2d4c17`, `2770f93064aa`, `105e27f962d0`, `4ad60ac475d8`, `#110212`, `#89959`
- **#91488: fix(tui_gateway): validate profile parameter in _profile_home against traversal**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `44650a6626f3e5b3c9b8be4ab788e4976715c6a8`, `d798755a54b7f23ab2a939f51935c2231c8c05a6`, `#90715`, `#90699`, `#91488`
- **#108348: fix(profiles): reject traversal-shaped profile names in get_profile_dir**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `a7254e2d4c17`, `2770f93064aa`, `4ad60ac475d8`, `#110212`, `#89959`, `#108346`, `#90699`

## Fix status

- Merged to main in PR #110212 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-13`.
- Subsystem: `gateway`
