JFrog Artifactory, Path Traversal Vulnerability, CVE-2026-66384 (MEDIUM) -DC-Aug2026-1974

Listen to this Post

CVE-2026-66384 is a path traversal vulnerability (CWE-22) affecting JFrog Artifactory’s Docker cache subsystem. The flaw allows an authenticated user to write data outside the intended Docker cache directory under specific remote‑repository conditions. The vulnerability resides in the path‑construction logic used when persisting content fetched from remote repositories. When an authenticated user initiates an operation that retrieves data from a remote repository — for example, pulling, mirroring, or importing a Docker image, layer, blob, or manifest — the cache service derives destination file paths from repository‑supplied metadata, including repository names, tags, manifest references, or content digests.
Under the specific conditions noted in the description, these metadata values are not sufficiently canonicalized or validated against the intended cache root. If a value contains path‑traversal sequences such as `../` or encoded/alternate separators, the write operation escapes the cache directory and lands in an arbitrary location writable by the cache service account. The attack vector is network‑accessible (AV:N) but requires a valid low‑privileged account (PR:L) with permission to invoke the affected authenticated cache operation. The attack complexity is high (AC:H) because the traversal path only triggers under specific repository layouts or malformed metadata, which is consistent with the description’s qualifier.
No user interaction is needed (UI:N), and the scope is unchanged (S:U), meaning the impact is confined to the vulnerable component and the filesystem permissions of its service account. Confidentiality and availability are unaffected (C:N / A:N), but the integrity impact is high (I:H). The core consequence is an out‑of‑bounds file write or modification — the attacker can overwrite arbitrary files writable by the cache service account, including configuration files, cache metadata, binaries, or scheduled‑job definitions. If the service later serves tampered content to other consumers, downstream image and artifact integrity is broken, producing cache‑poisoning and potential software‑supply‑chain impact.
The exact implementation flaw — whether traversal occurs in repository‑name parsing, manifest layer‑resolution, or digest‑to‑path mapping — has not been publicly disclosed. However, the security‑relevant observation is that a network‑exposed service accepts attacker‑influenced metadata and uses it to construct filesystem write destinations, and it fails to contain those destinations within the configured cache root. Docker cache components typically run with broad host filesystem access because they must store and later serve large container images, making a traversal write primitive more dangerous than an equivalent flaw in a least‑privileged web worker. As of the publication date, no patch, workaround, or public exploit currently exists, and the vulnerability remains unpatched.

DailyCVE Form:

Platform: JFrog Artifactory
Version: undisclosed versions
Vulnerability: Path Traversal (CWE-22)
Severity: MEDIUM (5.3)
Date: 2026-08-12

Prediction: Unknown / TBD

What Undercode Say:

The following analytics and reconnaissance commands can be used to assess exposure and test for the presence of the vulnerability in a controlled environment.

Enumerate Artifactory API endpoints that accept remote repository references
curl -k -X GET "https://<artifactory-host>/artifactory/api/repositories" \
-H "Authorization: Basic <base64-credentials>"
Check Docker repository caching endpoints
curl -k -X GET "https://<artifactory-host}/artifactory/api/docker/<repo-key>/v2/_catalog" \
-H "Authorization: Basic <base64-credentials>"
Attempt to trigger path traversal via repository name metadata (educational test only)
curl -k -X POST "https://<artifactory-host>/artifactory/api/docker/<repo-key>/v2/<traversal-path>/blobs/uploads/" \
-H "Authorization: Basic <base64-credentials>" \
-d '{"repository":"../../../../etc/passwd"}'
Monitor filesystem write attempts outside the cache directory
inotifywait -m -r --format '%w%f' /var/lib/artifactory/cache/ 2>/dev/null | \
while read FILE; do
if [[ ! "$FILE" =~ ^/var/lib/artifactory/cache/ ]]; then
echo "ALERT: Write outside cache detected: $FILE"
fi
done
Check for suspicious files modified outside the cache path
find / -type f -mmin -5 ! -path "/var/lib/artifactory/cache/" 2>/dev/null | \
xargs ls -la 2>/dev/null

Exploit: (Educational Purposes!)

No public proof‑of‑concept or exploit code exists for CVE-2026-66384 as of the publication date. The following attack chain is inferred strictly from the vulnerability class (CWE-22) and the NVD description; it is not a confirmed implementation guide.
1. Reconnaissance – The attacker locates a network‑exposed Artifactory instance (commonly ports 443, 80, or 5000) and enumerates its API to find endpoints that accept remote‑repository references for pull, mirror, or import operations. Because PR:L is required, the attacker obtains or already possesses a low‑privileged set of valid credentials.
2. Triggering the flaw – The attacker supplies a remote repository reference and repository metadata crafted to satisfy the “specific remote‑repository conditions” required by AC:H. This plausibly consists of repository or manifest metadata containing path‑traversal sequences such as `../` or URL‑encoded variants. The cache server accepts the request and begins resolving the destination path for the content to be persisted.
3. Payload delivery – During the write phase, the service fails to confine the resolved path to the intended Docker cache path. The traversal payload climbs parent directories, and the cache process writes data outside the cache root. Two delivery variants are plausible: (a) traversal sequences embedded directly in repository‑supplied metadata submitted by the authenticated user, or (b) a malicious remote repository controlled by the attacker serving a manifest whose layer references decode to traversal paths.
4. Post‑exploitation – The attacker can overwrite arbitrary files writable by the cache service account — configuration files, cache metadata, binaries, or scheduled‑job definitions. If the service later serves tampered content to other consumers, downstream image and artifact integrity is broken, producing cache‑poisoning and potential software‑supply‑chain impact. Escalation to code execution is unconfirmed; it would require the service account to overwrite a file that is subsequently executed or interpreted.

Protection:

  • Access Control – Restrict authenticated user permissions to only those cache operations that are strictly necessary. Enforce the principle of least privilege for all Artifactory users and service accounts.
  • Input Validation – Implement strict canonicalization and validation of all repository‑supplied metadata (repository names, tags, manifest references, and content digests) before using them in filesystem path construction. Reject any metadata containing path‑traversal sequences (../, ..\, URL‑encoded variants, or alternate separators).
  • Path Containment – Ensure that all write operations are confined to the intended Docker cache root directory. Use filesystem‑level controls such as chroot, `chdir` to the cache root, or a dedicated mount namespace to prevent escape.
  • Monitoring & Auditing – Enable filesystem auditing to detect write attempts outside the cache directory. Use `inotify` or similar tools to monitor the cache root and alert on any files modified outside that path.
  • Network Segmentation – Place Artifactory instances behind firewalls and restrict network access to only trusted users and systems. Avoid exposing the cache/registry service directly to the internet.
  • Apply Patches – Monitor JFrog security advisories and apply official patches as soon as they become available. Until a patch is released, consider disabling remote‑repository pull/mirror/import features for untrusted sources.

Impact:

  • Integrity Compromise (High) – An authenticated attacker can overwrite arbitrary files writable by the Artifactory service account, leading to tampering of configuration files, cache metadata, binaries, or scheduled jobs.
  • Supply‑Chain Risk – If tampered content is served to other consumers (e.g., downstream CI/CD pipelines or production environments), it can introduce backdoors, malicious code, or corrupted artifacts into the software supply chain.
  • Cache Poisoning – Overwritten cache entries can cause legitimate users to pull compromised or incorrect images, breaking application integrity and trust.
  • No Confidentiality or Availability Impact – The vulnerability does not expose sensitive data (C:N) nor cause denial of service (A:N). However, integrity attacks can be leveraged as a stepping stone for further compromise.
  • CVSS Base Score 5.3 (MEDIUM) – The attack is network‑exploitable but requires authentication and specific conditions to trigger, limiting the overall risk. The EPSS score is 0.00264 (18.4th percentile), suggesting exploitation in the wild is currently unlikely.

🎯Let’s Practice Exploiting & Learn Patching For Free:

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

Sources:

Reported By: www.cve.org
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top