CVE-2026-105712

gnupg2: gnupg: Arbitrary file overwrite via symlink traversal in gpgtar

Published Oct 5, 2026 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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

Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 5, 2026, 7:09 PM
Reserved
Oct 5, 2026, 6:53 PM
Status
Awaiting Analysis
Published
Oct 5, 2026, 7:17 PM
Modified
Oct 6, 2026, 4:00 PM
Severity
Low
Public date
Oct 5, 2026, 6:53 PM