GHSA-jfwm-3p3c-6hx5: Path Traversal

Published Oct 23, 2026
·
Updated

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 the glob crate also tests .. against a segment that starts with a literal .; - a symlink in the project root to a directory above it; - the extends path of a Vitest inline project; - a script --config path 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.

Affected Software

4 affected componentsFixes available
rust/fallow-core>=2.68.0<3.34.0
3.34.0
rust/fallow-cli>=2.68.0<3.34.0
3.34.0
npm/@fallow-cli/fallow-node>=2.68.0<3.34.0
3.34.0
npm/fallow>=2.68.0<3.34.0
3.34.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/fallow-core to a version that resolves this vulnerability.

    Fixed in 3.34.0
  2. Upgrade

    Upgrade rust/fallow-cli to a version that resolves this vulnerability.

    Fixed in 3.34.0
  3. Upgrade

    Upgrade npm/@fallow-cli/fallow-node to a version that resolves this vulnerability.

    Fixed in 3.34.0
  4. Upgrade

    Upgrade npm/fallow to a version that resolves this vulnerability.

    Fixed in 3.34.0
  5. Upgrade

    Upgrade Fallow to a version that resolves this vulnerability.

    Fixed in 3.34.0
  6. Compensating control

    Run Fallow only on repositories that you trust.

  7. Compensating control

    Before running Fallow on another repository, check the projects entries in its jest.config.* and vitest.config.* files.

Event History

Oct 23, 2026
Advisory Published
via GitHub·09:57 PM
Data Sourced
via GitHub·09:57 PM
DescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203