Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker stands up or hijacks Perry hub
-
DeliveryVictim runs perry publish against hub
-
ExploitHub sends ArtifactReady with traversal artifact_name or sensitive download_path
-
ExecutionPerry client joins path without sanitization
-
PersistClient overwrites authorized_keys / cron file or exposes local file
-
ImpactAttacker gains persistence or exfiltrates secrets
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 | The victim must invoke the Perry publish flow against a hub URL that the attacker controls or has compromised, and that hub must send an ArtifactReady WebSocket message whose artifact_name contains path-separator or '..' components (Path A) or whose download_path references a sensitive local file while the hub is non-local (Path B). Limiting factors: the attacker cannot reach a Perry client unsolicited - they need the user to point Perry at their server (UI:P in CVSS 4.0); writes are bounded by the Perry process's filesystem permissions, so a non-root developer/CI user cannot directly overwrite root-owned system files; and Path B (arbitrary local file read via download_path) only triggers when the hub URL is non-loopback, which is the common remote-hub case but excludes self-hosted-on-this-machine setups. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N, base 8.6) reflects that a Perry client is exposed over the network to whichever hub it is configured to talk to, but exploitation requires the user to actually run Perry against a malicious or hijacked hub (UI:P / passive user interaction), which sharply constrains the realistic attack population to developers and CI agents pointed at attacker-controlled or compromised build servers. There is no CISA KEV listing and no EPSS score provided, and no public exploit identified at time of analysis - VulnCheck has an advisory page but only the patch commit and tests are public, so this is best treated as a credible supply-chain-adjacent risk against developer/CI hosts rather than a mass-internet RCE. Note that VA:N and the lack of any code-execution primitive in the patch mean the direct impact is file overwrite / file read, not in-process RCE, though writing to authorized_keys, shell rc files, or cron paths under a developer or CI user is a realistic escalation route as the patch tests explicitly call out. |
| Exploit ScenarioDerived | An attacker who stands up or compromises a Perry hub waits for a developer or CI job to run |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Path traversal in Perry (PerryTS) CLI versions before 0.5.1159 allows a malicious or compromised build server to write arbitrary files anywhere the Perry process can write, or exfiltrate arbitrary local files, by sending crafted artifact_name or download_path values in ArtifactReady WebSocket messages. No public exploit identified at time of analysis, but the upstream commit and tests confirm the issue and a patched release is available.
RemediationAI
Upgrade to Perry 0.5.1159 or later (https://github.com/PerryTS/perry/releases/tag/v0.5.1159), which lands the sanitize_artifact_name and server_is_local checks from commit 95e1043df8081f67038bffce847dd9ddb3dae046 (PR #4989) - this is the primary fix. Until upgraded, restrict Perry to only connect to trusted hub URLs you control (pin server_url to your own hub and block egress to arbitrary hosts from CI runners), and run Perry as a low-privilege user with a tightly scoped output directory so that even a successful traversal cannot reach SSH keys, shell rc files, or cron drop-in directories; the trade-off is that developers can no longer point Perry at ad-hoc third-party hubs. Refer to the VulnCheck advisory at https://www.vulncheck.com/advisories/perry-path-traversal-via-artifactready-websocket and GHSA-x55v-q459-68ch for additional vendor guidance.
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
Perry is a Rust-based publish/distribution CLI (PerryTS/perry) that connects to a remote build hub over WebSockets and downloads artifacts described by ArtifactReady messages. The pre-fix code in crates/perry/src/commands/publish/mod.rs joined the server-supplied artifact_name directly onto the output directory via args.output.join(&name), and honored a server-supplied download_path as a local filesystem source whenever present - both classic CWE-22 patterns where untrusted input crosses a trust boundary into a filesystem API. The fix introduces sanitize_artifact_name (rejecting empty, '.', '..', any path separator, drive prefixes, or anything whose file_name does not round-trip to the original) and a server_is_local check that refuses to treat download_path as a local copy unless the hub URL resolves to localhost/127.0.0.1/::1.
Know when Perry 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Attacker reaches the client over the network via a hub the user chose to connect to (AV:N, UI:R), no auth on the client side (PR:N); arbitrary file write/read gives high C and I, but no availability impact in the patch evidence.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Perry before 0.5.1159 contains a path traversal vulnerability that allows a malicious build server to write arbitrary content to any location writable by the running process by supplying unsanitized path components in the artifact_name field of ArtifactReady WebSocket messages. Attackers controlling the server URL can deliver traversal payloads through the artifact_name or download_path fields, causing the client to overwrite sensitive files or expose arbitrary local files to an attacker-accessible location.
Executive ViewAI
Perry CLI versions below 0.5.1159 contain a path traversal vulnerability allowing attackers with build server access to write arbitrary files or steal sensitive data. While no public exploit has been identified, this threatens your software supply chain-enabling code injection and intellectual property theft. Immediate patching is essential to secure deployed applications.
Apply vendor patch (Perry CLI 0.5.1159 or later).
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.
EUVD-2026-36253
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB