Description
symfony/runtime is a module for the Symphony PHP framework which enables decoupling PHP applications from global state. When the `register_argv_argc` 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. As of versions 5.4.46, 6.4.14, and 7.1.7 the `SymfonyRuntime` now ignores the `argv` values for non-SAPI PHP runtimes. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| symfony | symfony | < 5.4.46, >= 6.0.0, < 6.4.14, >= 7.0.0, < 7.1.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | 6.4.14+dfsg-1 | — |
| Debian 13 | symfony | 6.4.41+dfsg-0+deb13u1 | — |
| Debian 12 | symfony | 5.4.53+dfsg-0+deb12u1 | DSA-5809-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | symfony | No fix yet | — |
| Ubuntu 25.10 | symfony | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | symfony | 6.4.5+dfsg-3ubuntu3+esm1 | USN-7272-1 |
| Ubuntu Pro 22.04 LTS | symfony | 5.4.4+dfsg-1ubuntu8+esm1 | USN-7272-1 |
| Ubuntu Pro 20.04 LTS | symfony | 4.3.8+dfsg-1ubuntu1+esm2 | USN-7272-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Nyamort/CVE-2024-50340 ★ 11 · Nov 6, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Symfony Profiler - Remote Access via Injected Arguments http/cves/2024/CVE-2024-50340.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | symfony/runtime | >= 5.3.0, < 5.4.46 | 5.4.46 | GHSA-x8vp-gf4q-mw5j |
| Packagist | symfony/runtime | >= 6.0.0, < 6.4.14 | 6.4.14 | GHSA-x8vp-gf4q-mw5j |
| Packagist | symfony/runtime | >= 7.0.0, < 7.1.7 | 7.1.7 | GHSA-x8vp-gf4q-mw5j |
| Packagist | symfony/symfony | >= 5.3.0, < 5.4.46 | 5.4.46 | GHSA-x8vp-gf4q-mw5j |
| Packagist | symfony/symfony | >= 6.0.0, < 6.4.14 | 6.4.14 | GHSA-x8vp-gf4q-mw5j |
| Packagist | symfony/symfony | >= 7.0.0, < 7.1.7 | 7.1.7 | GHSA-x8vp-gf4q-mw5j |
Advisories 2
- USN-7272-1 symfony vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5809-1 symfony - security update Debian Security (DSA / DLA) · Mar 9, 2026