gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --directory (aka -C) into an existing directory containing a pre-existing symlink, gpgtar can follow that symlink and create or overwrite a file outside the selected extraction directory. The write is limited by the extraction user's filesystem permissions. An archive extracted into a fresh empty directory does not have this risk.
History

Tue, 06 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Title gnupg2: gnupg: Arbitrary file overwrite via symlink traversal in gpgtar
Weaknesses CWE-59
References
Metrics threat_severity

None

threat_severity

Low


Mon, 05 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 05 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --directory (aka -C) into an existing directory containing a pre-existing symlink, gpgtar can follow that symlink and create or overwrite a file outside the selected extraction directory. The write is limited by the extraction user's filesystem permissions. An archive extracted into a fresh empty directory does not have this risk.
First Time appeared Gnupg
Gnupg gnupg
Weaknesses CWE-61
CPEs cpe:2.3:a:gnupg:gnupg:*:*:*:*:*:*:*:*
Vendors & Products Gnupg
Gnupg gnupg
References
Metrics cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-10-05T18:53:09.873Z

Updated: 2026-10-05T19:09:30.980Z

Reserved: 2026-10-05T18:53:09.023Z

Link: CVE-2026-105712

cve-icon Vulnrichment

Updated: 2026-10-05T19:09:26.691Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-05T19:17:19.527

Modified: 2026-10-06T16:00:36.547

Link: CVE-2026-105712

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-05T18:53:09Z

Links: CVE-2026-105712 - Bugzilla