CVE-2026-19589

Packer vulnerable to arbitrary file write via crafted plugin archive during installation

Published Aug 17, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Packer up to 1.15.4 is vulnerable to an issue in the third-party plugin installer that may allow unintended file system modification and could lead to code execution. A user who installs a plugin from a malicious or compromised source may be affected. This vulnerability (CVE-2026-19589) is fixed in Packer 1.16.0.

Analysis

AI-generated

Technical impact

Packer up to version 1.15.4 contains a flaw in its third‑party plugin installer that allows an attacker to supply a crafted plugin archive. The installer writes files to locations specified in the archive, enabling arbitrary file writes on the host file system. If the attacker includes malicious payloads or alters configuration files, the plugin installation could execute code on the target machine. The weakness is identified as CWE‑22, which describes path traversal and arbitrary file related attacks.

Affected Systems

HashiCorp Packer releases up to and including version 1.15.4 are vulnerable. The issue was fixed in version 1.16.0.

Risk and Exploitability

The CVSS score of 7.1 marks the vulnerability as high risk. EPSS data for this CVE is not available, and it is not listed in the CISA KEV catalog. The most likely attack scenario involves a user installing a plugin from a malicious or compromised source. The attacker must provide a crafted plugin archive; when the installer processes it, the arbitrary file write can be used to place executable payloads on the system. While no publicly available exploit is reported, the flaw can be exercised manually by an individual with access to the installer.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HashiCorp Packer to version 1.16.0 or later, which contains the fixed plugin installer.
  • Limit plugin installation sources to trusted, verified archives only.
  • Validate the integrity of plugin archives by checking their checksums or signatures before installation.

Generated by OpenCVE AI on August 17, 2026 at 21:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp packer
Vendors & Products Hashicorp
Hashicorp packer
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 Packer up to 1.15.4 is vulnerable to an issue in the third-party plugin installer that may allow unintended file system modification and could lead to code execution. A user who installs a plugin from a malicious or compromised source may be affected. This vulnerability (CVE-2026-19589) is fixed in Packer 1.16.0.
Title Packer vulnerable to arbitrary file write via crafted plugin archive during installation
Weaknesses CWE-22
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
Aug 17, 2026, 8:46 PM
Reserved
Aug 12, 2026, 3:40 AM
Status
Awaiting Analysis
Published
Aug 17, 2026, 9:16 PM
Modified
Oct 23, 2026, 4:10 PM