Path Traversal Vulnerability in Deep Java Library
CVE-2025-0851

9.3CRITICAL

Key Information:

Vendor

Aws

Vendor
CVE Published:
29 January 2025

Key facts: CVE-2025-0851 is a critical severity (CVSS 9.3) vulnerability in Aws DeepJavaLibrary MacOS. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 2.4%, the estimated probability of exploitation in the next 30 days. Fixed in DeepJavaLibrary MacOS 0.31.1.

What is CVE-2025-0851?

CVE-2025-0851 involves a path traversal vulnerability found in the Deep Java Library (DJL), a software library provided by Amazon Web Services (AWS) that facilitates the development of machine learning applications. This vulnerability allows malicious actors to manipulate file paths in such a way that they could write files to any location on the filesystem, potentially leading to unauthorized data modification and exposure. The ability to exploit this vulnerability without adequate protection mechanisms in place could significantly disrupt operations and compromise sensitive information within an organization.

Technical Details

The vulnerability is rooted in the handling of file extraction methods within the DJL, specifically the ZipUtils.unzip and TarUtils.untar functions. These functions do not sufficiently validate file paths when extracting archives, enabling an attacker to create paths that traverse outside of intended directories. This mismanagement of file paths can lead to writing arbitrary files, which is a critical security oversight that can affect all platforms running the affected library.

Potential Impact of CVE-2025-0851

  1. Arbitrary File System Access: The primary impact is the potential for arbitrary file system access, allowing attackers to write files to locations that could compromise the integrity and confidentiality of the system.

  2. Data Breach Risk: Sensitive data could be exposed or modified as a result of unauthorized file writes, leading to significant privacy concerns and potential regulatory ramifications for organizations.

  3. System Compromise: If exploited, the vulnerability could allow threat actors to manipulate application workflows or install malicious files, potentially leading to full system compromise and exploitation of further vulnerabilities within the network.

Affected Version(s)

DeepJavaLibrary MacOS 0.1.0 < 0.31.1

References

  • CVE-2026-125926: Server-Side Request Forgery in Amazon MCP Gateway Registry(MEDIUM)
  • CVE-2026-119923: Heap-Based Buffer Overflow in Babelfish for PostgreSQL and Amazon Aurora PostgreSQL(CRITICAL)
  • CVE-2026-122193: OS Command Injection in Trusted Remote Execution Product by Amazon Web Services(CRITICAL)
  • CVE-2026-122192: Improper Memory Remap Handling in Firecracker by Amazon Web Services(HIGH)
  • CVE-2026-103956: Authentication Flaw in Loom for AWS Affects AWS Services(CRITICAL)
  • CVE-2026-89049: Server-Side Request Forgery Vulnerability in Amazon AWS Systems Manager Agent(HIGH)
  • CVE-2026-3336: Improper Certificate Validation in AWS-LC Affects AWS Services(HIGH)
  • CVE-2026-0830: Arbitrary Command Injection Vulnerability in Kiro GitLab Merge-Request Helper(HIGH)
Browse all analysed vulnerabilities ›

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.