Skip to content
porro

Advisories  /  composer  /  symfony/filesystem  /  GHSA-6PRC-H956-HXJQ

UNRATED Composer

Filesystem Path Treats Any Prefix Before "://" as a Root, Letting Paths Escape Their Base Directory (GHSA-6PRC-H956-HXJQ)

GHSA-6prc-h956-hxjq Published 4 Nov 2026

Fixed in symfony/filesystem 5.4.56 and 6.4.50 and 7.4.23 and 8.1.11.

$ composer require symfony/filesystem:^5.4.56
$ composer require symfony/filesystem:^6.4.50
$ composer require symfony/filesystem:^7.4.23
$ composer require symfony/filesystem:^8.1.11

Run the one for the major version you’re on: each fix stays within its release line.

Which versions are affected

Package Affected Fixed in
symfony/filesystem ≥ 5.4.0, < 5.4.56≥ 6.0.0, < 6.4.50≥ 7.0.0, < 7.4.23≥ 8.0.0, < 8.1.11 5.4.566.4.507.4.238.1.11

Check a site from its project folder: composer show symfony/filesystem shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/filesystem is safe from GHSA-6PRC-H956-HXJQ?

8.1.11 and later. Versions affected: ≥ 5.4.0, < 5.4.56, ≥ 6.0.0, < 6.4.50, ≥ 7.0.0, < 7.4.23, ≥ 8.0.0, < 8.1.11.