All vulnerabilities

PyPI

CVE-2026-128079

envd: Host file disclosure through requirements path traversal and TOCTOU

Severity
Medium
Published
13 Nov 2026
Last changed
13 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.3.6
Exploit chance
0.1% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)Time-of-check time-of-use race condition (CWE-367)
Also known as
GHSA-jv6m-48w5-5rpr
Sources
OSV.dev and GitHub

Description

envd’s install.python_packages(requirements=...) could read files outside the build context on the host. Content interpreted as dependency entries could appear in build logs and build-step metadata.

Commit f576c92, released in v1.3.5, added path containment validation but left a time-of-check/time-of-use (TOCTOU) race between symlink resolution and opening the requirements file. Commit 9d575b3 addresses this race by opening requirements files through a directory-rooted filesystem handle.

envd reads requirements files on the host to determine whether their contents can be embedded directly into a pip installation build step.

The vulnerable host-side requirements read was introduced in v0.3.38. Version v1.3.5 added containment checks for static path escapes but remained vulnerable to a TOCTOU race. The complete fix is included in v1.3.6.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
envdPyPI · osv:PyPI:envd
  • From 0.3.38 before 1.3.6

About envd

Weekly downloads (PyPI)
5,716PyPI Stats, 24 Nov 2026

This is the only vulnerability in envd in our list.

References