---
id: "CVE-2026-114040"
kind: "vulnerability"
aliases: ["CVE-2026-114040"]
title: "DT42 BerryNet: path traversal in model metadata handler exposes server files"
severity: "medium"
cvss: 4.0
epss: 0.00274
exploited: false
status: "open"
category: "ai-tooling"
products: []
ecosystems: []
tags: ["ai-tooling", "berrynet", "self-hosted"]
not_affected_if: []
published_at: "2026-10-21T04:18:10+00:00"
first_seen_at: "2026-10-23T21:57:28+00:00"
updated_at: "2026-10-25T04:42:00+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114040", "first_seen_at": "2026-10-23T21:57:28+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-114040", "first_seen_at": "2026-10-24T13:15:55+00:00"}]
---

# DT42 BerryNet: path traversal in model metadata handler exposes server files

DT42 BerryNet up to 3.10.2 has a path traversal flaw in the get_model_meta function of its model package metadata handler, where the label argument is not sanitized. A remote attacker can use it to make the server read files outside the intended model directory.

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

## How to check

- Check the installed BerryNet version against 3.10.2 (the sources say versions up to and including 3.10.2 are affected; the exact check command is unknown).
- Review berrynet/dlmodelmgr.py for the get_model_meta function and whether the label argument is validated (the sources do not give a fixed line or check).

## Fix

- unknown: the sources say the project has not responded to the issue report and do not name a fixed version or workaround.
- Until a fix exists, restrict network access to the BerryNet service to trusted hosts.

## Timeline

- 2026-10-23T21:57:28+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-114040
- 2026-10-24T13:15:55+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2026-114040

## From the sources

A security vulnerability has been detected in DT42 BerryNet up to 3.10.2. The affected element is the function DLModelManager.get_model_meta of the file berrynet/dlmodelmgr.py of the component Model Package Metadata Handler. The manipulation of the argument label leads to path traversal. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
