Skip to main content

TensorChord envd EUVDEUVD-2026-125683

| CVE-2026-128079 MEDIUM
Path Traversal (CWE-22)
2026-11-13 GitHub_M GHSA-jv6m-48w5-5rpr
6.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local access to influence envd build input
  2. Delivery
    Craft requirements path escaping build context
  3. Exploit
    (v1.3.5) swap symlink/directory to win TOCTOU race
  4. Execution
    envd reads host file outside context
  5. Impact
    Contents 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

envd 0.3.38, < 1.3.6

Affected Packages

pypi envd fix: 1.3.6

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 20:49 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche ML/developer build tool, limited production deployment footprint
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy