Fallow: A `.*` glob segment let an analyzed repository make Fallow test paths in the parent of the project root
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
fileExistsdetection pattern such as.*/marker.jsonmade the plugin active whenmarker.jsonexisted in the parent directory. - An external plugin
configPatternsoralwaysUsedpattern could match a config file in the parent directory. When the plugin was active and declaredtoolingDependencies, the tooling detection credited the related dev dependency. An unused dependency finding could then disappear, and--trace-dependencyprinted the outside path. fallow plugin-checkreportedpath_exists: truefor 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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
Verweise
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N- Schwäche (CWE)
CWE-22- Plattform
- npm
- Paket
fallow, @fallow-cli/fallow-node- Veröffentlicht
- 23.10.2026
- Aktualisiert
- 24.10.2026 01:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-h4fr-cmh5-qr62 - CC BY 4.0
Schwachstellenhistorie: fallow
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 2
- Erste → letzte
- 10.2026 10.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Niedrig 2
Veröffentlichungen pro Jahr
- 2026: 2
-
Fallow: A `.*` glob segment let an analyzed repository make Fallow test paths in the parent of the project root dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.