CVE-2019-9686: Path Traversal

Published Mar 11, 2019
·
Updated

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 curldownloadinternal in lib/libalpm/dload.c.

Affected Software

1 affected component
Pacman Project Pacman<5.1.3

Event History

Mar 11, 2019
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:29 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2019-9686?

CVE-2019-9686 is rated as a medium severity vulnerability due to its potential for directory traversal exploits.

2

How do I fix CVE-2019-9686?

To fix CVE-2019-9686, upgrade to pacman version 5.1.3 or later.

3

What software is affected by CVE-2019-9686?

CVE-2019-9686 affects pacman versions before 5.1.3.

4

What type of vulnerability is CVE-2019-9686?

CVE-2019-9686 is a directory traversal vulnerability that can be exploited during remote package installations.

5

Can CVE-2019-9686 be exploited remotely?

Yes, CVE-2019-9686 can be exploited remotely when installing packages via a specified URL.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203