{"id":"GHSA-jfwm-3p3c-6hx5","summary":"Fallow: Jest and Vitest `projects` entries let an analyzed repository make Fallow read files outside the project root","details":"### Impact\n\nFallow 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:\n\n- an absolute path or glob, for example `/etc/*`;\n- a path with `..` segments, for example `../*`;\n- a glob with a `.*` segment, because the `glob` crate also tests `..` against a segment that starts with a literal `.`;\n- a symlink in the project root to a directory above it;\n- the `extends` path of a Vitest inline project;\n- a script `--config` path that is a symlink to a file outside the project root.\n\nFallow 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.\n\nThe 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.\n\nVersions 2.68.0 to 3.33.1 read outside files through Jest `projects`. Version 3.33.1 also read them through Vitest `test.projects`.\n\n### Patches\n\nFixed 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 `\u003crootDir\u003e/../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.\n\n### Workarounds\n\nRun 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.","aliases":["CVE-2026-115569"],"modified":"2026-10-23T22:15:04.462997809Z","published":"2026-10-23T21:57:37Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2026-10-23T21:57:37Z","nvd_published_at":"2026-10-23T19:17:44Z","cwe_ids":["CWE-22","CWE-59"]},"references":[{"type":"WEB","url":"https://github.com/fallow-rs/fallow/security/advisories/GHSA-jfwm-3p3c-6hx5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115569"},{"type":"WEB","url":"https://github.com/fallow-rs/fallow/pull/3556"},{"type":"WEB","url":"https://github.com/fallow-rs/fallow/commit/75c0c60948a53ddfe042e65b446343989f4c5649"},{"type":"PACKAGE","url":"https://github.com/fallow-rs/fallow"},{"type":"WEB","url":"https://github.com/fallow-rs/fallow/releases/tag/v3.34.0"}],"affected":[{"package":{"name":"fallow","ecosystem":"npm","purl":"pkg:npm/fallow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.68.0"},{"fixed":"3.34.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-jfwm-3p3c-6hx5/GHSA-jfwm-3p3c-6hx5.json"}},{"package":{"name":"@fallow-cli/fallow-node","ecosystem":"npm","purl":"pkg:npm/%40fallow-cli/fallow-node"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.68.0"},{"fixed":"3.34.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-jfwm-3p3c-6hx5/GHSA-jfwm-3p3c-6hx5.json"}},{"package":{"name":"fallow-cli","ecosystem":"crates.io","purl":"pkg:cargo/fallow-cli"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.68.0"},{"fixed":"3.34.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-jfwm-3p3c-6hx5/GHSA-jfwm-3p3c-6hx5.json"}},{"package":{"name":"fallow-core","ecosystem":"crates.io","purl":"pkg:cargo/fallow-core"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.68.0"},{"fixed":"3.34.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-jfwm-3p3c-6hx5/GHSA-jfwm-3p3c-6hx5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"}]}