3.3low
Fallow: Jest and Vitest `projects` entries let an analyzed repository make Fallow read files outside the project root
- Severity
- 3.3low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jfwm-3p3c-6hx5
Description
Fallow is a codebase intelligence tool for TypeScript and JavaScript. From 2.68.0 until 3.34.0, Fallow follows attacker-controlled Jest projects paths outside the project root through absolute paths, parent segments, dot-prefixed wildcard globs, or symlinks. In version 3.33.1, the same behavior also affects Vitest test.projects paths, Vitest inline-project extends paths, and symlinked script --config paths. Fallow parses the outside files as test-runner configuration and uses them to credit dependencies, setup files, and JSX import sources, which can change unused dependency and unused file findings in CI or agent analysis. The outside file contents are not printed or sent over the network. This issue is fixed in version 3.34.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fallow-rs fallow | >= 2.68.0, < 3.34.0 | CVE List |
| @fallow-cli fallow-node | >= 2.68.0, < 3.34.0 | CVE List |
| fallow-rs fallow-cli | >= 2.68.0, < 3.34.0 | CVE List |
| fallow-rs fallow-core | >= 2.68.0, < 3.34.0 | CVE List |
| fallow (npm) | from 2.68.0 before 3.34.0 | GitHub Advisory Database |
| @fallow-cli/fallow-node (npm) | from 2.68.0 before 3.34.0 | GitHub Advisory Database |
| fallow-cli (crates.io) | from 2.68.0 before 3.34.0 | GitHub Advisory Database |
| fallow-core (crates.io) | from 2.68.0 before 3.34.0 | GitHub Advisory Database |
All scores
| GitHub_M | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
Fallow is a codebase intelligence tool for TypeScript and JavaScript. From 2.68.0 until 3.34.0, Fallow follows attacker-controlled Jest projects paths outside the project root through absolute paths, parent segments, dot-prefixed wildcard globs, or symlinks. In version 3.33.1, the same behavior also affects Vitest test.projects paths, Vitest inline-project extends paths, and symlinked script --config paths. Fallow parses the outside files as test-runner configuration and uses them to credit dependencies, setup files, and JSX import sources, which can change unused dependency and unused file findings in CI or agent analysis. The outside file contents are not printed or sent over the network. This issue is fixed in version 3.34.0.
GitHub Advisory Database
Impact
Fallow reads the Jest and Vitest configs of the repository that it analyzes. A Jest projects entry or a Vitest test.projects entry can name a path. Fallow followed such an entry to a config file and read that file, also when the file was outside the project root. These forms reached outside the root:
- an absolute path or glob, for example
/etc/*; - a path with
..segments, for example../*; - a glob with a
.*segment, because theglobcrate also tests..against a segment that starts with a literal.; - a symlink in the project root to a directory above it;
- the
extendspath of a Vitest inline project; - a script
--configpath that is a symlink to a file outside the project root.
Fallow parsed each of these files as a test runner config. Fallow used the content only to credit dependencies, setup files and JSX import sources. Thus unused dependency and unused file findings could change. Fallow did not print the content or send it over the network.
The Fallow threat model states that analysis reads only inside the project root. A crafted repository could make Fallow read files that the user did not expect. Such a read can happen in CI, or when an agent runs Fallow on a cloned repository. The attacker gets changed findings, not the file content.
Versions 2.68.0 to 3.33.1 read outside files through Jest projects. Version 3.33.1 also read them through Vitest test.projects.
Patches
Fixed in 3.34.0. Fallow now resolves each match with symlinks and .. segments removed. Fallow reads the match only when it is inside the project root. A glob whose literal base is outside the project root does not run. The boundary is the project root, so an in-root entry such as <rootDir>/../packages/* still works, also from the config of a workspace package. Fallow also does not read a script --config path that is a symlink to a file outside the project root.
Workarounds
Run Fallow only on repositories that you trust. Before you run Fallow on another repository, check the projects entries of its jest.config.* and vitest.config.* files.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-115569 changed 2026-10-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jfwm-3p3c-6hx5 changed 2026-10-23 | CC-BY-4.0 |
| NVD | CVE-2026-115569 changed 2026-10-30 | Public domain |