GHSA-h4fr-cmh5-qr62: Path Traversal

Published Oct 23, 2026
·
Updated

Impact

Fallow expands some globs from the analyzed repository on disk. Before 3.34.0, a segment such as ., .? or .. in such a glob also matched the special .. entry. The glob crate tests .. against a segment that starts with a literal .. Fallow validates plugin glob patterns and refuses absolute paths and .. segments, but these segments passed that validation.

The attacker controls the repository content. The attacker must also be able to read the Fallow output, for example a CI log or a pull request comment. Then the attacker can learn if a file or directory exists in the parent of the project root:

- A plugin fileExists detection pattern such as ./marker.json made the plugin active when marker.json existed in the parent directory. - An external plugin configPatterns or alwaysUsed pattern could match a config file in the parent directory. When the plugin was active and declared toolingDependencies, the tooling detection credited the related dev dependency. An unused dependency finding could then disappear, and --trace-dependency printed the outside path. - fallow plugin-check reported pathexists: true for a seeded entry that matched only in the parent directory.

Fallow tested only that these paths exist. It did not read or print the content of a file outside the project root through these globs.

The Jest, Vitest and Rstest project globs had the same . problem, and the Jest and Vitest ones also read file content. GHSA-jfwm-3p3c-6hx5 describes that case.

Patches

Fixed in 3.34.0. Fallow now rewrites a leading . in a wildcard segment to [.] before it expands the glob on disk. [.] matches the same hidden files and directories inside the project root. The glob crate does not test .. against it.

Workarounds

Run Fallow only on repositories that you trust. Before you run Fallow on another repository, check the detection, configPatterns and alwaysUsed patterns of its plugin files.

Affected Software

5 affected componentsFixes available
rust/fallow-core<3.34.0
3.34.0
rust/fallow-config<3.34.0
3.34.0
rust/fallow-cli<3.34.0
3.34.0
npm/@fallow-cli/fallow-node<3.34.0
3.34.0
npm/fallow<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-config to a version that resolves this vulnerability.

    Fixed in 3.34.0
  3. Upgrade

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

    Fixed in 3.34.0
  4. Upgrade

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

    Fixed in 3.34.0
  5. Upgrade

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

    Fixed in 3.34.0
  6. Upgrade

    Upgrade Fallow to a version that resolves this vulnerability.

    Fixed in 3.34.0
  7. Compensating control

    Run Fallow only on repositories that you trust.

  8. Operational

    Before running Fallow on another repository, check the detection, configPatterns, and alwaysUsed patterns in its plugin files.

Event History

Oct 23, 2026
Advisory Published
via GitHub·09:58 PM
Data Sourced
via GitHub·09:58 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