Package vulnerability, severity high
Deep Java Library (DJL) arbitrary local file read via model archive metadata (CVE-2026-129266)
Published
DJL does not validate the resource location specified in model archive metadata. A remote unauthenticated party could use a crafted model archive to read any file the library process can access. Versions 0.7.0 through 0.38.0 are affected and 0.39.0 fixes the issue.
What's affected
- ai.djl:api (maven)>=0.7.0 <0.39.0
What to do
- Upgrade Deep Java Library to version 0.39.0 or later.
- Patch any forked or derivative code to include the fix.
- Only load model archives from sources you trust.
- If you run djl-serving or a container image that bundles it, restrict network access to the management and inference APIs and set model_url_pattern to an allowlist of model locations you control.
Check whether you were affected
To check a machine, run this in Claude Code with the Pharon plugin, in the repository that uses it. The check is free and needs no account:
/pharon:check-incident deep-java-library-arbitrary-file-read-2026-11Don't wait for the next one to reach the news. Pharon tells the team that owns the affected repo within minutes. Free for 7 days, no card.
Get alerted for the next oneReferences
Notice deep-java-library-arbitrary-file-read-2026-11, signed with key feed-prod-2026-10 (Ed25519). The Pharon CLI verifies the signature before using a notice.