Commit Graph

1 Commits

Author SHA1 Message Date
RHEL Packaging Agent
b1803d0f02 Security fix for CVE-2026-8643: path traversal in wheel entry points
Backport upstream commit 8eb178480bd1a2b223f509fc430796b265158dfb
to fix CVE-2026-8643. The patch adds validation to reject wheel
entry point names containing path traversal components (e.g. ".."
or absolute paths) that could cause scripts to be installed
outside the intended scripts directory. A new _script_within_dir
helper function and updated _raise_for_invalid_entrypoint logic
in pip's wheel installer enforce this check. Comprehensive tests
are included.

CVE: CVE-2026-8643
Upstream patches:
 - 8eb178480b.patch
Resolves: RHEL-191157

This commit was backported by Ymir, a Red Hat Enterprise Linux software maintenance AI agent.

Assisted-by: Ymir
2026-07-08 09:32:27 +02:00