Skip to content

Contain nested wheel-data symlinks - #254

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/096-nested-data-symlink-containment
Closed

Contain nested wheel-data symlinks#254
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/096-nested-data-symlink-containment

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 14, 2026

Copy link
Copy Markdown
Owner

A nested symlink beneath tool.uv.build-backend.data can still package files outside the source tree and bypass source/wheel excludes after root containment. Resolve each data file against the source tree, reject escaped targets, and reapply both exclusion sets before adding the file to the wheel. This narrowly completes the containment guarantee introduced in uv#20397.

Promoted upstream: astral-sh/uv#20431.

@zanieb
zanieb marked this pull request as ready for review July 15, 2026 15:14
@zanieb zanieb closed this Jul 15, 2026
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