Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-55878Symfony: Path Traversal in symfony/ux-toolkit Allows Arbitrary File Write and Read via Crafted Recipe Manifest
High 7.8
In plain English
A high-severity path traversal in ux from symfony. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Symfony UX is a JavaScript ecosystem for Symfony. From 2.32.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux:install console command installs files from a recipe kit by copying paths listed in a copy-files map, and because Path::isRelative() accepts paths like ../../../etc, a crafted or compromised kit can write attacker-controlled content to arbitrary locations or read local files outside the recipe directory. This issue is fixed in versions 2.36.1 and 3.2.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | symfony/ux-toolkit | 2.36.1 | GHSA-p9xj-fpr2-jf2q |
| Packagist | symfony/ux-toolkit | 3.2.0 | GHSA-p9xj-fpr2-jf2q |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/symfony/ux/security/advisories/GHSA-p9xj-fpr2-jf2q x_refsource_CONFIRM
- https://github.com/symfony/ux/commit/7b4ddf3764bf269a1b5fde5bf03c4bce568694e4 x_refsource_MISC
- https://github.com/symfony/ux/releases/tag/v2.36.1 x_refsource_MISC
- https://github.com/symfony/ux/releases/tag/v3.2.0 x_refsource_MISC