Skip to content

Fix Fish activation quoting vulnerability - #614

Merged
alecthomas merged 1 commit into
masterfrom
fix-dx-30
Aug 13, 2026
Merged

Fix Fish activation quoting vulnerability#614
alecthomas merged 1 commit into
masterfrom
fix-dx-30

Conversation

@alecthomas

Copy link
Copy Markdown
Collaborator

Fish treats backslashes as escapes inside single-quoted strings, unlike POSIX shells. A trailing backslash could therefore escape the closing quote and allow a following environment value to execute as Fish code. Use Fish-specific quoting and cover the exploit with unit and real-shell integration tests.

Co-authored-by: Codex noreply@openai.com

Fish treats backslashes as escapes inside single-quoted strings, unlike POSIX shells. A trailing backslash could therefore escape the closing quote and allow a following environment value to execute as Fish code. Use Fish-specific quoting and cover the exploit with unit and real-shell integration tests.

Co-authored-by: Codex <noreply@openai.com>
@alecthomas
alecthomas merged commit 95acc42 into master Aug 13, 2026
12 of 13 checks passed
@alecthomas
alecthomas deleted the fix-dx-30 branch August 13, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant