Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/symfony/symfony@5.4.8
purl pkg:composer/symfony/symfony@5.4.8
Next non-vulnerable version 5.4.51
Latest non-vulnerable version 8.0.5
Risk 10.0
Vulnerabilities affecting this package (10)
Vulnerability Summary Fixed by
VCID-4num-z8cg-83gt
Aliases:
CVE-2024-51736
GHSA-qq5c-677p-737q
Symfony vulnerable to command execution hijack on Windows with Process class ### Description On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. ### Resolution The `Process` class now uses the absolute path to `cmd.exe`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9) for branch 5.4. ### Credits We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
5.4.46
Affected by 2 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 2 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 1 other vulnerability.
7.2.0-BETA1
Affected by 1 other vulnerability.
VCID-8kq8-2mv9-s3ad
Aliases:
CVE-2024-50342
GHSA-9c3x-r3wp-mgxm
Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient ### Description When using the `NoPrivateNetworkHttpClient`, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration. ### Resolution The `NoPrivateNetworkHttpClient` now filters blocked IPs earlier to prevent such leaks. The fisrt patch for this issue is available [here](https://github.com/symfony/symfony/commit/296d4b34a33b1a6ca5475c6040b3203622520f5b) for branch 5.4. The second one is available [here](https://github.com/symfony/symfony/commit/b4bf5afdbdcb2fd03da513ee03beeabeb551e5fa) for branch 5.4 also. ### Credits We would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.
5.4.47
Affected by 2 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.15
Affected by 2 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.8
Affected by 1 other vulnerability.
7.2.0-BETA1
Affected by 1 other vulnerability.
VCID-9bzz-84cq-ykh2
Aliases:
CVE-2024-50345
GHSA-mrqx-rp3w-jpjp
Symfony vulnerable to open redirect via browser-sanitized URLs ### Description The `Request` class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the `Request` class to redirect users to another domain. ### Resolution The `Request::create` methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/ The patch for this issue is available [here](https://github.com/symfony/symfony/commit/5a9b08e5740af795854b1b639b7d45b9cbfe8819) for branch 5.4. ### Credits We would like to thank Sam Mush - IPASSLab && ZGC Lab for reporting the issue and Nicolas Grekas for providing the fix.
5.4.46
Affected by 2 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 2 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 1 other vulnerability.
7.2.0-BETA1
Affected by 1 other vulnerability.
VCID-bdhj-np35-sybt
Aliases:
CVE-2023-46734
GHSA-q847-2q57-wmr3
Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.
5.4.31
Affected by 7 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.3.8
Affected by 7 other vulnerabilities.
6.4.0-BETA1
Affected by 7 other vulnerabilities.
VCID-c8ar-82sr-fqej
Aliases:
CVE-2024-50343
GHSA-g3rh-rrhp-jhh9
Symfony has an incorrect response from Validator when input ends with `\n` ### Description It is possible to trick a `Validator` configured with a regular expression using the `$` metacharacters, with an input ending with `\n`. ### Resolution Symfony now uses the `D` regex modifier to match the entire input. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/7d1032bbead9a4229b32fa6ebca32681c80cb76f) for branch 5.4. ### Credits We would like to thank Offscript for reporting the issue and Alexandre Daubois for providing the fix.
5.4.43
Affected by 6 other vulnerabilities.
6.4.11
Affected by 6 other vulnerabilities.
7.1.4
Affected by 5 other vulnerabilities.
VCID-en6a-wp7q-fbfs
Aliases:
CVE-2024-50340
GHSA-x8vp-gf4q-mw5j
Symfony allows changing the environment through a query ### Description When the `register_argc_argv` php directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment or debug mode used by the kernel when handling the request. ### Resolution The `SymfonyRuntime` now ignores the `argv` values for non-cli SAPIs PHP runtimes The patch for this issue is available [here](https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa) for branch 5.4. ### Credits We would like to thank Vladimir Dusheyko for reporting the issue and Wouter de Jong for providing the fix.
5.4.46
Affected by 2 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.14
Affected by 2 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.1.7
Affected by 1 other vulnerability.
7.2.0-BETA1
Affected by 1 other vulnerability.
VCID-kgu6-gj5d-7bfx
Aliases:
CVE-2026-24739
GHSA-r39x-jcww-82v6
Symfony's incorrect argument escaping under MSYS2/Git Bash can lead to destructive file operations on Windows ### Summary The Symfony Process component did not correctly treat some characters (notably `=`) as “special” when escaping arguments on Windows. When PHP is executed from an MSYS2-based environment (e.g. Git Bash) and Symfony Process spawns native Windows executables, MSYS2’s argument/path conversion can mishandle unquoted arguments containing these characters. This can cause the spawned process to receive corrupted/truncated arguments compared to what Symfony intended. ### Impact If an application (or tooling such as Composer scripts) uses Symfony Process to invoke file-management commands (e.g. `rmdir`, `del`, etc.) with a path argument containing `=`, the MSYS2 conversion layer may alter the argument at runtime. In affected setups this can result in operations being performed on an unintended path, up to and including deletion of the contents of a broader directory or drive. The issue is particularly relevant when untrusted input can influence process arguments (directly or indirectly, e.g. via repository paths, extracted archive paths, temporary directories, or user-controlled configuration). ### Resolution Upgrade to a Symfony release that includes the fix from symfony/symfony#63164 (which updates Windows argument escaping to ensure arguments containing = and other MSYS2-sensitive characters are properly quoted/escaped). The patch for branch 5.4 is available at https://github.com/symfony/symfony/commit/ec154f6f95f8c60f831998ec4d246a857e9d179b ### Workarounds / Mitigations Avoid running PHP/your tooling from MSYS2-based shells on Windows; prefer cmd.exe or PowerShell for workflows that spawn native executables. Avoid passing paths containing `=` (and similar MSYS2-sensitive characters) to Symfony Process when operating under Git Bash/MSYS2. Where applicable, configure MSYS2 to disable or restrict argument conversion (e.g. via `MSYS2_ARG_CONV_EXCL`), understanding this may affect other tooling behavior.
5.4.51
Affected by 0 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.33
Affected by 0 other vulnerabilities.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.3.11
Affected by 0 other vulnerabilities.
7.4.0-BETA1
Affected by 0 other vulnerabilities.
7.4.5
Affected by 0 other vulnerabilities.
8.0.0-BETA1
Affected by 0 other vulnerabilities.
8.0.5
Affected by 0 other vulnerabilities.
VCID-p1dw-w76f-gbfv
Aliases:
CVE-2025-64500
GHSA-3rg7-wf37-54rm
Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass The `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption.
5.4.50
Affected by 1 other vulnerability.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.4.29
Affected by 1 other vulnerability.
7.0.0-BETA1
Affected by 0 other vulnerabilities.
7.3.7
Affected by 1 other vulnerability.
7.4.0-BETA1
Affected by 0 other vulnerabilities.
VCID-rgh3-ef8t-k3ec
Aliases:
CVE-2022-24894
GHSA-h7vf-5wrv-9fhv
GMS-2023-209
GMS-2023-212
Duplicate This advisory duplicates another.
5.4.20
Affected by 8 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.0.20
Affected by 7 other vulnerabilities.
6.1.0-BETA1
Affected by 7 other vulnerabilities.
6.1.12
Affected by 7 other vulnerabilities.
6.2.0-BETA1
Affected by 7 other vulnerabilities.
6.2.6
Affected by 8 other vulnerabilities.
VCID-thtp-ehsj-t3ej
Aliases:
CVE-2022-24895
GHSA-3gv2-29qc-v67m
GMS-2023-210
GMS-2023-211
Duplicate This advisory duplicates another.
5.4.20
Affected by 8 other vulnerabilities.
6.0.0-BETA1
Affected by 0 other vulnerabilities.
6.0.20
Affected by 7 other vulnerabilities.
6.1.0-BETA1
Affected by 7 other vulnerabilities.
6.1.12
Affected by 7 other vulnerabilities.
6.2.0-BETA1
Affected by 7 other vulnerabilities.
6.2.6
Affected by 8 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-17T00:13:37.311407+00:00 GitLab Importer Affected by VCID-kgu6-gj5d-7bfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2026-24739.yml 38.4.0
2026-04-16T23:51:48.884673+00:00 GitLab Importer Affected by VCID-p1dw-w76f-gbfv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2025-64500.yml 38.4.0
2026-04-16T23:13:30.612455+00:00 GitLab Importer Affected by VCID-c8ar-82sr-fqej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50343.yml 38.4.0
2026-04-16T23:13:27.714229+00:00 GitLab Importer Affected by VCID-8kq8-2mv9-s3ad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50342.yml 38.4.0
2026-04-16T23:13:22.902413+00:00 GitLab Importer Affected by VCID-9bzz-84cq-ykh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50345.yml 38.4.0
2026-04-16T23:13:08.833564+00:00 GitLab Importer Affected by VCID-en6a-wp7q-fbfs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50340.yml 38.4.0
2026-04-16T23:13:07.851553+00:00 GitLab Importer Affected by VCID-4num-z8cg-83gt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-51736.yml 38.4.0
2026-04-16T22:42:57.716475+00:00 GitLab Importer Affected by VCID-bdhj-np35-sybt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2023-46734.yml 38.4.0
2026-04-16T22:21:02.577932+00:00 GitLab Importer Affected by VCID-rgh3-ef8t-k3ec https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24894.yml 38.4.0
2026-04-16T22:20:53.945491+00:00 GitLab Importer Affected by VCID-thtp-ehsj-t3ej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24895.yml 38.4.0
2026-04-12T01:37:31.067616+00:00 GitLab Importer Affected by VCID-kgu6-gj5d-7bfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2026-24739.yml 38.3.0
2026-04-12T01:13:24.496895+00:00 GitLab Importer Affected by VCID-p1dw-w76f-gbfv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2025-64500.yml 38.3.0
2026-04-12T00:32:01.867649+00:00 GitLab Importer Affected by VCID-c8ar-82sr-fqej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50343.yml 38.3.0
2026-04-12T00:31:58.628706+00:00 GitLab Importer Affected by VCID-8kq8-2mv9-s3ad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50342.yml 38.3.0
2026-04-12T00:31:53.146988+00:00 GitLab Importer Affected by VCID-9bzz-84cq-ykh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50345.yml 38.3.0
2026-04-12T00:31:37.382588+00:00 GitLab Importer Affected by VCID-en6a-wp7q-fbfs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50340.yml 38.3.0
2026-04-12T00:31:36.292521+00:00 GitLab Importer Affected by VCID-4num-z8cg-83gt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-51736.yml 38.3.0
2026-04-12T00:02:30.562980+00:00 GitLab Importer Affected by VCID-bdhj-np35-sybt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2023-46734.yml 38.3.0
2026-04-11T23:39:01.570453+00:00 GitLab Importer Affected by VCID-rgh3-ef8t-k3ec https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24894.yml 38.3.0
2026-04-11T23:38:52.103689+00:00 GitLab Importer Affected by VCID-thtp-ehsj-t3ej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24895.yml 38.3.0
2026-04-03T01:46:27.710851+00:00 GitLab Importer Affected by VCID-kgu6-gj5d-7bfx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2026-24739.yml 38.1.0
2026-04-03T01:22:21.676998+00:00 GitLab Importer Affected by VCID-p1dw-w76f-gbfv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2025-64500.yml 38.1.0
2026-04-03T00:39:45.886411+00:00 GitLab Importer Affected by VCID-c8ar-82sr-fqej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50343.yml 38.1.0
2026-04-03T00:39:42.691301+00:00 GitLab Importer Affected by VCID-8kq8-2mv9-s3ad https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50342.yml 38.1.0
2026-04-03T00:39:36.813701+00:00 GitLab Importer Affected by VCID-9bzz-84cq-ykh2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50345.yml 38.1.0
2026-04-03T00:39:19.976237+00:00 GitLab Importer Affected by VCID-en6a-wp7q-fbfs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-50340.yml 38.1.0
2026-04-03T00:39:18.866528+00:00 GitLab Importer Affected by VCID-4num-z8cg-83gt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2024-51736.yml 38.1.0
2026-04-03T00:05:29.759559+00:00 GitLab Importer Affected by VCID-bdhj-np35-sybt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2023-46734.yml 38.1.0
2026-04-02T23:43:14.890445+00:00 GitLab Importer Affected by VCID-rgh3-ef8t-k3ec https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24894.yml 38.1.0
2026-04-02T23:43:06.417244+00:00 GitLab Importer Affected by VCID-thtp-ehsj-t3ej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24895.yml 38.1.0
2026-04-01T18:06:06.175820+00:00 GitLab Importer Affected by VCID-rgh3-ef8t-k3ec https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24894.yml 38.0.0
2026-04-01T18:05:56.102417+00:00 GitLab Importer Affected by VCID-thtp-ehsj-t3ej https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/symfony/symfony/CVE-2022-24895.yml 38.0.0