ORAS Project oras-java-sdk path traversal in ArchiveUtils symlink handling

Severity: low · CVSS 8.6 · Published 2026-07-01

A vulnerability in the ORAS Java SDK, a tool used to interact with OCI registries and manage cloud artifacts, allows an attacker to write malicious files to arbitrary locations on a user's system. By providing a specially crafted archive (tar or zip) containing malicious symbolic links, an attacker can bypass security checks and overwrite critical system files or configuration data. This could lead to a complete system takeover, service outages, or the theft of credentials when the SDK is used to pull and extract artifacts.

Vendors: Maven, ORAS Project.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Low severity, with a CVSS score of 8.6, published 1 July 2026.
Which products and versions are affected?
land.oras:oras-java-sdk (Maven) <= 0.6.3; ORAS Project Oras-Java-Sdk <= 0.6.3.
Is there a fix for This vulnerability?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is This vulnerability attacked?
It is attacked over the network, in a software library.
Am I affected?
Check whether you run land.oras:oras-java-sdk (Maven) or ORAS Project Oras-Java-Sdk at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A path traversal vulnerability exists in the `ArchiveUtils.untar` and `ArchiveUtils.unzip` methods of `land.oras:oras-java-sdk` due to insufficient validation of symbolic link targets. While the library checks the entry name, it fails to validate the `linkName` of symlink entries. An attacker can provide a malicious OCI layer containing a symlink pointing outside the extraction directory, followed by a regular file that traverses this symlink. Because `Files.newOutputStream` is called without `LinkOption.NOFOLLOW_LINKS`, the subsequent write follows the symlink and overwrites files on the host system. This is reachable via the public `Registry.pullArtifact` and `OCILayout.pullArtifact` APIs when the `io.deis.oras.content.unpack=true` manifest layer is present. The vulnerability is addressed in version 0.6.4.

Affected products

  • ORAS Project oras-java-sdk <= 0.6.3

Timeline

  • 2026-05-27: advisory: Initial advisory published
  • 2026-07-01: other: Advisory updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.