Threat Advisory

Envd TOCTOU Race Lets Attackers Read Host Files

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: Medium
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-128079 with a CVSS score of 6.8 is a host file disclosure vulnerability in envd's install.python_packages(requirements=...) functionality, where requirements files are read on the host to decide whether their contents can be embedded into a pip installation build step. Affected versions are envd (pip) versions >= 0.3.38, < 1.3.6. The flaw is a path traversal and time-of-check/time-of-use issue in the host-side requirements read path. An attacker who can influence build input and, for the residual race, concurrently modify relevant filesystem paths may cause envd to resolve a requirements pathname differently during validation and opening, allowing reads outside the intended build context, subject to the permissions of the envd process. The exposed content may be interpreted as dependency entries and appear in dependency debug logs and build-step metadata. The impact is information disclosure rather than arbitrary code execution or unrestricted disclosure of every file, but it can expose sensitive host files and undermine build isolation, potentially revealing other data accessible to the process.

RECOMMENDATION:

We recommend you to update envd to version 1.3.6.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-128079 with a CVSS score of 6.8 is a host file disclosure vulnerability in envd's install.python_packages(requirements=...) functionality, where requirements files are read on the host to decide whether their contents can be embedded into a pip installation build step. Affected versions are envd (pip) versions >= 0.3.38, < 1.3.6. The flaw is a path traversal and time-of-check/time-of-use issue in the host-side requirements read path. An attacker who can influence build input and, for the residual race, concurrently modify relevant filesystem paths may cause envd to resolve a requirements pathname differently during validation and opening, allowing reads outside the intended build context, subject to the permissions of the envd process. The exposed content may be interpreted as dependency entries and appear in dependency debug logs and build-step metadata. The impact is information disclosure rather than arbitrary code execution or unrestricted disclosure of every file, but it can expose sensitive host files and undermine build isolation, potentially revealing other data accessible to the process.

RECOMMENDATION:

We recommend you to update envd to version 1.3.6.[emaillocker id="1283"]

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu