Skip to content

fix: Vulernability in the handling of file paths in the file store - #164

Merged
Nehliin merged 1 commit into
masterfrom
fix/torrent-path-confinement
Oct 14, 2026
Merged

Nehliin merged 1 commit into
masterfrom
fix/torrent-path-confinement

Conversation

@Nehliin

@Nehliin Nehliin commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Before this change a malicious torrent could overwrite an arbitrary file on the system (given the program itself could access the path). This change prevents torrents from writing outside of the intended directory.

Found by and implemented via Codex (trying it out)

@Nehliin
Nehliin merged commit 693b193 into master Oct 14, 2026
3 checks passed
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