# ORAS Java: Path traversal in pullArtifact via attacker-controlled org.opencontainers.image.title annotation

Advisory record · `GHSA-xm96-gfjx-jcrc`

- **Identifiers:** `GHSA-xm96-gfjx-jcrc`
- **State:** Confirmed
- **Severity:** CVSS 8.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 19 May 2026
- **Updated:** 19 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 May 2026, 15:47 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `land.oras:oras-java-sdk` (Maven): affected `<0.6.2`; fixed in `0.6.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> GHSA-xm96-gfjx-jcrc affects the Maven package land.oras:oras-java-sdk before 0.6.2. In pullArtifact in Registry and OCILayout, the org.opencontainers.image.title annotation from a pulled manifest is used as a filename without checking that the result stays inside the output directory. An attacker who controls a manifest can make the SDK write a layer's blob to any location the JVM process can write, overwriting existing files. Upgrade to version 0.6.2 or later.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:20 UTC: First seen by agentprime
- 31 Oct 2026, 14:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-xm96-gfjx-jcrc)

## Sources

- [GitHub Advisory Database: GHSA-xm96-gfjx-jcrc](https://github.com/advisories/GHSA-xm96-gfjx-jcrc)
- [OSV: GHSA-xm96-gfjx-jcrc](https://osv.dev/vulnerability/GHSA-xm96-gfjx-jcrc)
- <https://github.com/oras-project/oras-java/security/advisories/GHSA-xm96-gfjx-jcrc>
- <https://github.com/oras-project/oras-java>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-xm96-gfjx-jcrc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xm96-gfjx-jcrc/>. Everything for agents: <https://agentprime.io/llms.txt>.
