Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts plugin archive with path traversal entries
-
DeliveryHosts or injects archive into plugin distribution channel
-
ExploitOperator runs packer plugins install from compromised source
-
ExecutionInstaller extracts archive without path validation
-
PersistFiles written outside plugin directory on host
-
ImpactOverwritten file (script, key, or config) executes attacker code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a user actively invokes Packer's plugin installer ( |
| Impact | The NVD CVSS 3.1 score of 7.1 with vector AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N is internally consistent with the attack model: local execution (AV:L), low complexity once triggered (AC:L), no privileges needed to run plugin installation (PR:N), but mandatory user interaction to initiate the install (UI:R). The Changed Scope (S:C) reflects that path traversal extends impact beyond Packer to the broader host file system. The High integrity impact (I:H) correctly captures arbitrary file write capability. No EPSS data was provided in the intelligence feed, preventing a probabilistic exploitation assessment. This CVE is not listed in the CISA KEV catalog, so active exploitation is not confirmed. The real-world risk is elevated in DevOps and CI/CD environments where Packer runs with sufficient privileges to overwrite scripts, SSH keys, or pipeline configurations - but is substantially bounded by the supply-chain attack model: a user must be socially engineered or encounter a compromised plugin source, ruling out opportunistic mass exploitation. |
| Exploit ScenarioDerived | An attacker publishes a Packer plugin - or compromises an existing plugin's distribution channel (e.g., a GitHub release asset or S3-hosted archive) - and embeds archive entries with path traversal sequences such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Path traversal (CWE-22) in HashiCorp Packer's third-party plugin installer through version 1.15.4 permits a crafted plugin archive to write files outside the intended extraction directory, enabling code execution on the host. Users who install plugins from malicious or compromised sources trigger the vulnerability through the normal packer plugins install workflow. No public exploit code has been identified at time of analysis, and a vendor-released fix is available in Packer 1.16.0.
RemediationAI
Upgrade to HashiCorp Packer 1.16.0, which contains the fix per the vendor security advisory at https://discuss.hashicorp.com/t/hcsec-2026-29-packer-vulnerable-to-arbitrary-file-write-via-crafted-plugin-archive-during-installation/77654. Until upgrade is possible, restrict plugin installations exclusively to the official HashiCorp plugin registry and avoid any untrusted third-party archive URLs or local archives of unknown origin - this eliminates the malicious-source prerequisite entirely. As an additional compensating control, execute Packer plugin installation inside a container or VM with a restricted, read-only bind mount over sensitive directories (e.g., ~/.ssh, /etc/cron.d, CI/CD workspace directories), preventing traversal writes from reaching high-value targets; note this adds pipeline complexity and may interfere with legitimate plugin installation paths. Running Packer as a dedicated low-privilege service account further limits the blast radius of any successful traversal by constraining which paths are writable.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HashiCorp Packer is a widely-used open-source infrastructure-as-code tool that builds machine images across cloud and virtualization platforms, commonly deployed in CI/CD pipelines. The vulnerability exists in Packer's plugin installer subsystem, which downloads and extracts third-party plugin archives from external sources. The root cause, CWE-22 (Path Traversal), indicates that the installer fails to normalize or validate archive entry paths before extraction, enabling a 'Zip Slip'-style attack: a crafted archive may contain entries with path sequences such as ../../ that escape the designated plugin directory and write attacker-controlled content to arbitrary locations on the host file system. The affected CPE is cpe:2.3:a:hashicorp:packer:*:*:*:*:*:*:*:*, covering all Packer releases through 1.15.4 across all supported platforms (Linux, macOS, Windows).
Know when Packer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N
Plugin installation is a local, user-initiated operation (AV:L, UI:R); no account privileges needed (PR:N); path traversal escapes Packer's own directory into the host OS (S:C, I:H).
Primary rating from Vendor (HashiCorp).
CVSS VectorVendor: HashiCorp
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
HashiCorp Packer versions through 1.15.4 contain a path traversal vulnerability in the plugin installer that enables arbitrary code execution on infrastructure servers when users install plugins from malicious or compromised sources. This exposes organizations running Packer-based infrastructure automation to host compromise and potential lateral movement within their cloud or on-premises environments.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-60378
GHSA-3cf4-f9v4-j353
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB