Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. fallow-cli
  4. ›
  5. GHSA-h4fr-cmh5-qr62

GHSA-h4fr-cmh5-qr62: Fallow: A `.*` glob segment let an analyzed repository make Fallow test paths in the parent of the project root

October 23, 2026

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 path_exists: 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.

References

  • github.com/advisories/GHSA-h4fr-cmh5-qr62
  • github.com/fallow-rs/fallow/commit/133d4c862c74f4b1f0a7417c65b7157c1144294d
  • github.com/fallow-rs/fallow/pull/3548
  • github.com/fallow-rs/fallow/releases/tag/v3.34.0
  • github.com/fallow-rs/fallow/security/advisories/GHSA-h4fr-cmh5-qr62

Code Behaviors & Features

Detect and mitigate GHSA-h4fr-cmh5-qr62 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.34.0

Fixed versions

  • 3.34.0

Solution

Upgrade to version 3.34.0 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

cargo/fallow-cli/GHSA-h4fr-cmh5-qr62.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:07 +0000.