Skip to content

Zipapp cannot reopen its archive through a symlink and parent component #3596

Closed

Description

@gaborbernat

The zipapp can fail to open its own archive when a launcher reaches it through a directory symlink followed by a parent component.

Affected code

Source

Reproduction

On ea7688a0, open a zipapp through a directory symlink followed by a parent component on POSIX. The bootstrap reports FileNotFoundError even when the archive exists at the filesystem-resolved path. Opening the direct path succeeds.

Impact

Reproduction is moderate and exposure is niche because a launcher must reach the zipapp through this path layout.

Credits

Report ANT-2026-WY9FGLQ6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions