CVE-2026-105712
gnupg2: gnupg: Arbitrary file overwrite via symlink traversal in gpgtar
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 6, 2026
Updated · November 4, 2026
Description
A flaw was found in the gpgtar utility in GnuPG. When extracting an archive into a directory containing pre-existing symbolic links (symlinks), the tool can follow those links instead of staying within the target directory. An attacker can provide a crafted archive that, when extracted by an unsuspecting user, creates or overwrites files outside the intended destination directory. Any unauthorized file writes are limited to the filesystem permissions of the user performing the extraction.
Statement
This vulnerability is rated as Low severity because exploitation requires local user interaction on a pre-conditioned filesystem, and file operations remain constrained by the privileges of the executing user.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 3.6CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
CWE-59 · Improper Link Resolution Before File Access