Read the docs
TI-2019-07087 Aliases CVE-2019-9686GHSA-2fr8-9j8m-w8vx

pacman before 5.1.3 allows directory traversal when installing a remote package via a…

Priority MEDIUM 44CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

pacman before 5.1.3 allows directory traversal when installing a remote package via a specified URL "pacman -U <url>" due to an unsanitized file name received from a Content-Disposition header. pacman renames the downloaded package file to match the name given in this header. However, pacman did not sanitize this name, which may contain slashes, before calling rename(). A malicious server (or a network MitM if downloading over HTTP) can send a Content-Disposition header to make pacman place the file anywhere in the filesystem, potentially leading to arbitrary root code execution. Notably, this bypasses pacman's package signature checking. This occurs in curl_download_internal in lib/libalpm/dload.c.

Why it matters now

EPSS 0.0338 88th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pacman_project:pacman:*:*:*:*:*:*:*:*before 5.1.3VulnerablePacman Project
  • cpe:2.3:a:pacman_project:pacman:*:*:*:*:*:*:*:* Versions before 5.1.3 Vulnerable ·Pacman Project

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-9686
  2. 2026-10-03 Alias added: GHSA-2fr8-9j8m-w8vx

References

  • TI-2019-13205 pacman before 5.2 is vulnerable to arbitrary command injection in lib/libalpm/sync.c in… CVSS 3.1CRITICAL 9.8
  • TI-2019-13204 pacman before 5.2 is vulnerable to arbitrary command injection in conf.c in the… CVSS 3.1CRITICAL 9.8
  • TI-2016-04709 libalpm, as used in pacman 5.0.1, allows remote attackers to cause a denial of service… CVSS 3.0MEDIUM 5.5

Sources