Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. land.oras/oras-java-sdk
  4. ›
  5. GHSA-xm96-gfjx-jcrc

GHSA-xm96-gfjx-jcrc: ORAS Java: Path traversal in pullArtifact via attacker-controlled org.opencontainers.image.title annotation

May 19, 2026

The pullArtifact methods in Registry and OCILayout use the org.opencontainers.image.title annotation from a pulled manifest as a filename, resolving it against the caller supplied output directory without normalization or a containment check. A manifest publisher can set this annotation to a path that escapes the output directory, causing the SDK to write the layer’s blob anywhere the JVM process can write.

References

  • github.com/advisories/GHSA-xm96-gfjx-jcrc
  • github.com/oras-project/oras-java/security/advisories/GHSA-xm96-gfjx-jcrc

Code Behaviors & Features

Detect and mitigate GHSA-xm96-gfjx-jcrc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.2

Fixed versions

  • 0.6.2

Solution

Upgrade to version 0.6.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/land.oras/oras-java-sdk/GHSA-xm96-gfjx-jcrc.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:59 +0000.