---
id: "CVE-2026-129266"
page: "https://infrastack.ai/live/CVE-2026-129266"
kind: "vulnerability"
aliases: ["CVE-2026-129266"]
title: "External control of a file path in Amazon Deep Java Library (DJL) versions 0.7.0 through 0.38.0 might allow a remote\u2026"
severity: "high"
cvss: 8.7
epss: null
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-tooling", "aws", "deep-learning", "djl", "djl-serving", "java", "lab-disclosure", "model-serving"]
not_affected_if: ["apis-not-network-exposed", "only-trusted-model-sources", "versions-0.39.0-or-later"]
published_at: "2026-11-16T00:00:00+00:00"
first_seen_at: "2026-11-16T18:52:33+00:00"
updated_at: "2026-11-16T19:38:22+00:00"
sources: [{"source": "lab", "url": "https://aws.amazon.com/security/security-bulletins/2026-183-aws/", "first_seen_at": "2026-11-16T18:52:33+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129266", "first_seen_at": "2026-11-16T19:38:22+00:00"}]
exploit_sources: []
---

# External control of a file path in Amazon Deep Java Library (DJL) versions 0.7.0 through 0.38.0 might allow a remote…

Link for people: https://infrastack.ai/live/CVE-2026-129266 (this .md is for agents)

Deep Java Library (DJL), an open-source Java deep learning framework, does not validate the resource location in model archive metadata. A remote unauthenticated attacker can use a crafted model archive to read any file the library process can access.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the DJL version in your build file or dependency tree; affected versions are `>=0.7.0` and `<=0.38.0`.
- If you run djl-serving or the djl-inference Deep Learning Container, check whether management and inference APIs are reachable from untrusted networks.
- Check whether `model_url_pattern` is set on djl-serving.

## Fix

- Upgrade DJL to `0.39.0` or later.
- Ensure any forked or derivative DJL code is patched.

## Timeline

- 2026-11-16T18:52:33+00:00 lab https://aws.amazon.com/security/security-bulletins/2026-183-aws/ — AWS: CVE-2026-129266 - Arbitrary Local File Read in DJL - AWS
- 2026-11-16T19:38:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-129266

## Documents

- [advisory] AWS: CVE-2026-129266 - Arbitrary Local File Read in DJL - AWS https://aws.amazon.com/security/security-bulletins/2026-183-aws/
- [advisory] AWS Security Bulletins: CVE-2026-129266 - Arbitrary local file read via unvalidated resource location in model archive metadata in Deep Java Library https://aws.amazon.com/security/security-bulletins/rss/2026-183-aws/
- [advisory] Vendor advisory: github.com https://github.com/deepjavalibrary/djl/security/advisories/GHSA-xf3w-qp3m-fp62
- [fix] Release notes: github.com https://github.com/deepjavalibrary/djl/releases/tag/v0.39.0

## From the sources

CVE-2026-129266 - Arbitrary Local File Read in DJL - AWS

### CVE-2026-129266 - Arbitrary local file read via unvalidated resource location in model archive metadata in Deep Java Library

Bulletin ID: 2026-183-AWS Scope: AWS/Amazon Content Type: Important (requires attention)/Informational Publication Date: 11/16/2026 10:30 AM PST

 Description:

Deep Java Library (DJL) is an open-source, engine-agnostic Java framework for deep learning. We identified CVE-2026-129266, an issue where DJL doesn't validate the resource location specified in model archive metadata. A remote unauthenticated third party could use a crafted model archive to read arbitrary files that the library process can access.

Impacted versions: >=0.7.0, <=0.38.0

Resolution:

This issue has been addressed in DJL version 0.39.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds:

Only load model archives from sources you trust. If you run djl-serving, or a container image that bundles it such as the djl-inference Deep Learning Container, restrict network access to the management and inference APIs so that untrusted callers cannot register models, and set model_url_pattern to an allowlist of model locations you control to restrict models loaded through inference requests.

References:

- CVE-2026-129266
- GHSA-xf3w-qp3m-fp62

Acknowledgement:

We would like to thank Oguzhan Akkaya for collaborating on this issue through the coordinated vulnerability disclosure process.

 Please email aws-security@amazon.com with any s ecurity questions or concerns.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
