Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local access to influence envd build input
-
DeliveryCraft requirements path escaping build context
-
Exploit(v1.3.5) swap symlink/directory to win TOCTOU race
-
Executionenvd reads host file outside context
-
ImpactContents leak via debug logs and build-step metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to influence the envd build input - specifically the requirements argument passed to install.python_packages(requirements=...). On versions >= 0.3.38 and < 1.3.5, a static path escape (an absolute path, a '..' traversal, or a symlink pointing outside the build context directory) is sufficient to make envd read a host file. On v1.3.5, which already added the static containment check in commit f576c92, exploitation additionally requires concurrently modifying the relevant filesystem paths to win a TOCTOU race between symlink resolution (filepath.EvalSymlinks) and the subsequent os.Open. Limiting factors: the vector is local and low-privileged (AV:L, PR:L), disclosure is bounded by the envd process's filesystem permissions, only content that parses as dependency entries and surfaces in debug logs/build-step metadata is exposed (not arbitrary full-file disclosure), and the flaw does not yield code execution. |
| Impact | This is a genuine but moderate-severity, bounded information-disclosure flaw rather than a high-urgency issue. The supplied CVSS 4.0 vector (6.8, medium) is internally consistent with the description: AV:L means the attacker needs a local vector (ability to influence envd build input, e.g. the build definition or requirements path), PR:L means low privileges are required (low-privileged/authenticated, per PR:L), UI:N, and impact is confidentiality-only (VC:H, VI:N, VA:N) with no scope change. No EPSS score was provided in the input, and the CVE is not listed in CISA KEV, so there is no signal of active or widespread exploitation. The vuln.today decision label is 'this_month' - not act_now or emergency - indicating a normal-cycle priority. Exploitation is further constrained in v1.3.5, where the static containment check is already present and the residual TOCTOU variant additionally requires winning a race by concurrently modifying filesystem paths between validation and open; this narrows the practical window. The advisory also states disclosure is bounded - it does not establish arbitrary code execution or unrestricted disclosure of every file. Net: a real local, low-privilege, partial-disclosure issue worth patching on a normal cadence consistent with the 'this_month' label, not an emergency. |
| Exploit ScenarioDerived | An attacker who can influence an envd build - for example by supplying or tampering with the build definition that calls install.python_packages(requirements=...) - provides a requirements path that resolves outside the build context (via absolute path, '..' traversal, or a symlink), causing envd to read a host file whose contents are then parsed as dependency entries and surfaced in debug logs or build-step metadata, subject to the envd process's permissions. On v1.3.5 the attacker must additionally win a TOCTOU race by swapping the resolved path (e.g. moving a directory/symlink) between the containment check and os.Open. No end-to-end public exploit is confirmed; the advisory provides only a deterministic regression test demonstrating the rooted-vs-pathname read distinction, not host file disclosure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
envd releases from 0.3.38 up to and including 1.3.5 can be made to read requirements files from the host that sit outside the intended build context, through the requirements argument of install.python_packages(requirements=...). Content from those files, when it happens to parse as dependency entries, can then surface in pip debug logs and build-step metadata, limited by the permissions of the envd process. Versions before 1.3.5 accept a static escape (absolute path, '..' traversal, or an out-of-context symlink); version 1.3.5 shipped a containment check but left a time-of-check/time-of-use race that requires concurrent modification of the relevant filesystem paths to exploit. The flaw is fixed in 1.3.6, exploitation requires a local low-privileged position with influence over build input, and there is no KEV entry or confirmed working exploit code - the advisory's published reproduction is a deterministic regression test of the object-pinning guarantee, not end-to-end disclosure.
RemediationAI
Upgrade envd to 1.3.6 or later - the only complete fix. Two changes land in that release: PR https://github.com/tensorchord/envd/pull/2112 (commit f576c92) adds frontend path validation via resolvePathInBuildContext that rejects absolute paths, '..' traversal and symlinks resolving outside the build context for both the requirements file and local wheels, and commit 9d575b3 (PR https://github.com/tensorchord/envd/pull/2119) replaces pathname-based reads with directory-rooted reads through os.OpenRoot / Root.Open to eliminate the symlink-resolution-versus-open race. Operators who cannot upgrade immediately should note that 1.3.5 is not a safe stopping point, since it remains vulnerable to the TOCTOU variant; the actionable interim control is to treat install.python_packages(requirements=...) and local wheel paths as trusted-only input, enforcing at the pipeline or code-review layer that those arguments are relative paths with no symlink components that resolve outside the build context directory, and avoiding shared or externally writable build-context paths that a second party could mutate during a build. Note that this control does not repair the underlying sink and is only as strong as the enforcement around build-input authorship; because the disclosure is bounded by the envd process's permissions and only content parsed as dependency entries reaches debug logs and build-step metadata, running envd with a minimally privileged account also limits the blast radius. Vendor advisory: https://github.com/tensorchord/envd/security/advisories/GHSA-jv6m-48w5-5rpr.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
envd is a Python-based tooling layer (Starlark frontend compiled in Go) that builds reproducible development environments; before constructing a pip install build step it reads the host-side requirements file to decide whether its contents can be inlined directly into the step. That host-side read is a CWE-22 path-traversal sink: the requirements path is user-supplied through the install.python_packages() builtin, and absent containment it can name an absolute path, traverse with '..', or dereference a symlink that resolves outside the build context directory. Commit f576c92 (shipped in v1.3.5) added a resolvePathInBuildContext helper that resolves the deepest existing ancestor via filepath.EvalSymlinks, compares the result against the symlink-resolved build context, and rejects anything outside it - but EvalSymlinks returns a pathname, not a pinned filesystem object, so the later os.Open re-resolves that pathname independently, leaving a CWE-367 TOCTOU window where concurrent filesystem changes can swap the validated object for another one. Commit 9d575b3 (v1.3.6) closes that window by traversing and opening requirements files through a directory-rooted handle (os.OpenRoot / Root.Open) so containment is enforced during the read itself rather than only at validation time. The impacted component set is cpe:2.3:a:tensorchord:envd across all versions, with the vulnerable ranges being >= 0.3.38, < 1.3.6.
Know when Envd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Requires local ability to influence build input so AV:L and PR:L; confidentiality-only disclosure gives C:H/I:N/A:N; static path escape is AC:L, though the v1.3.5 TOCTOU variant would be AC:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
envd provides reproducible development environments for humans and agents. In versions starting with 0.3.38 and before 1.3.6, insufficient containment of host-side requirements-file reads in install.python_packages(requirements=...) could allow access to files outside the build context. An attacker able to influence build input could cause file contents interpreted as dependency entries to appear in debug logs or build-step metadata, subject to the envd process’s permissions. Exploitation in version 1.3.5 additionally requires concurrent modification of relevant filesystem paths. This issue is fixed in version 1.3.6.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-125683
GHSA-jv6m-48w5-5rpr
NVD
CVE.org
EPSS
Exploit-DB