---
title: "CVE-2025-0851: Deep Java Library path traversal issue"
url: https://erroneo.us/security/cve/CVE-2025-0851/
description: "CVE-2025-0851 (ai.djl:api (Maven)): A path traversal issue in ZipUtils.unzip and TarUtils.untar in Deep Java Library (DJL) on all platforms allows a bad…"
type: vulnerability-record
section: "Security Digest"
date_published: 2025-01-29
date_modified: 2025-10-14
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-0851"
kev: false
cvss: 9.3
epss: 0.23267
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-0851: Deep Java Library path traversal issue

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 23.3% , percentile 98: FIRST’s model estimates a 23.3% chance of exploitation activity in the next 30 days, higher than 98% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes ai.djl:api (Maven) < 0.31.1, fixed in 0.31.1 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Maven `ai.djl:api` < 0.31.1 → fixed: 0.31.1

## Affected products (CVE record)

- AWS DeepJavaLibrary: 0.1.0 < 0.31.1

## Severity

- AMZN CVSS 4.0: 9.3 `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`
- AMZN CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 4.0: 9.3 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 23.27% probability of exploitation activity in the next 30 days; percentile 98.

## Sources

- [aws.amazon.com](https://aws.amazon.com/security/security-bulletins/AWS-2025-003/)
- [github.com](https://github.com/deepjavalibrary/djl/releases/tag/v0.31.1)
- [GitHub Advisory GHSA-jcrp-x7w3-ffmg](https://github.com/advisories/GHSA-jcrp-x7w3-ffmg)
- [CVE.org record CVE-2025-0851](https://www.cve.org/CVERecord?id=CVE-2025-0851)
- [NVD entry CVE-2025-0851](https://nvd.nist.gov/vuln/detail/CVE-2025-0851)
- [github.com](https://github.com/deepjavalibrary/djl/security/advisories/GHSA-jcrp-x7w3-ffmg)
- [github.com](https://github.com/deepjavalibrary/djl/commit/7415cc5f72aae69ea9716a5e4f709af03a77a619)

---
Source page: https://erroneo.us/security/cve/CVE-2025-0851/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
