Skip to content

fix(backend): prevent arbitrary file reads - #254

Merged
zRzRzRzRzRzRzR merged 1 commit into
zai-org:mainfrom
Ataraxy33:main
Oct 14, 2026
Merged

zRzRzRzRzRzRzR merged 1 commit into
zai-org:mainfrom
Ataraxy33:main

Conversation

@Ataraxy33

Copy link
Copy Markdown
Contributor

Restrict /tasks/file to verified PNG crops recorded for completed tasks and reject path traversal and symlink escapes. Add regression tests for file access and existing image/PDF preview workflows.

Restrict /tasks/file to verified PNG crops recorded for completed tasks and reject path traversal and symlink escapes. Add regression tests for file access and existing image/PDF preview workflows.

Validation: 58 backend tests passed.
@zRzRzRzRzRzRzR
zRzRzRzRzRzRzR merged commit 0288f96 into zai-org:main Oct 14, 2026
2 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.

2 participants