Medium [CVE-2026-87910] Python tarfile module: Security filter bypass allows arbitrary file write
This medium-severity Red Hat Linux advisory covers CVE-2026-87910 affecting Red Hat Hardened Images.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
A flaw was found in the Python `tarfile` module. When extracting an archive containing a link on systems that do not support links, the module falls back to extracting the linked member.
During this fallback, a security filter designed to prevent the extraction of certain files is not properly applied. This oversight could allow an attacker to bypass intended security restrictions, potentially leading to the creation or modification of arbitrary files on the system.
Red Hat severity: Moderate — CVSS 5.7 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N). Weakness: CWE-252.
Affected Red Hat products: Red Hat Hardened Images. Red Hat does not currently list a fixing RHSA for this CVE.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source
Fixed versions
No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.
Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source
Mitigation
The source record does not include mitigation steps. That is not a statement that no fix exists — read the vendor advisory below for the authoritative guidance.
Official advisory · medium-confidence parse· fetched 2 hours ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.