CVE-2024-50340symfony/runtime Vulnerability
Symfony allows changing the environment through a query
Published Nov 6, 2024 · Updated Nov 2, 2026 · Also known as DEBIAN-CVE-2024-50340, DSA-5809-1, GHSA-x8vp-gf4q-mw5j, UBUNTU-CVE-2024-50340
Key Facts
Patch immediately- CVE-2024-50340 is a medium-severity vulnerability (CVSS 6.9 v4) affecting symfony/runtime (composer), symfony/symfony (composer), symfony (debian).
- It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Sep 10, 2026. No public exploit code is known.
- EPSS estimates a 62% probability of exploitation in the next 30 days.
- Fixed versions are available, including symfony 5.4.23+dfsg-1+deb12u3, symfony 5.4.4+dfsg-1ubuntu8+esm1, symfony 5.4.53+dfsg-0+deb12u1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v4
6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
62%
Higher than 99.1% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
56/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Sep 10, 2026
673 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
13
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-50340
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/runtime/CVE-2024-50340.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2024-50340.yaml
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-50340
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2024-50340
- advisoryhttps://symfony.com/cve-2024-50340
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Sep 10, 2026 | n/a | Not reported |
| Industry KEV feed | Sep 10, 2026 | n/a | Not reported |
Affected Products
17 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| symfony/runtimecomposer | >= 7.0.0 | 7.1.7 |
| symfony/symfonycomposer | >= 7.0.0 | 7.1.7 |
| symfonydebian | < 5.4.46 | 5.4.23+dfsg-1+deb12u3 |
Patched Releases
symfony
5.4.23+dfsg-1+deb12u3, 5.4.4+dfsg-1ubuntu8+esm1, 5.4.53+dfsg-0+deb12u1, 6.4.14+dfsg-1, 6.4.41+dfsg-0+deb13u1, 6.4.5+dfsg-3ubuntu3+esm1
symfony/runtime
5.4.46, 6.4.14, 7.1.7
symfony/symfony
5.4.46, 6.4.14, 7.1.7
Timeline
Publicly disclosed
Nov 6, 2024
Added to CIRCL KEV
Sep 10, 2026
Added to Industry KEV feed
Sep 10, 2026
Last updated
Nov 2, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
- advisorycve.org · CVERecord
- advisorygithub.com · CVE-2024-50340
- advisorygithub.com · CVE-2024-50340
- advisorynvd.nist.gov · CVE-2024-50340
- advisorysecurity-tracker.debian.org · CVE-2024-50340
FAQ
Common Questions.
symfony/runtime is a module for the Symphony PHP framework which enables decoupling PHP applications from global state.
Affected: symfony/runtime (composer) versions >= 7.0.0; symfony/symfony (composer) versions >= 7.0.0; symfony (debian) versions < 5.4.46. The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Sep 10, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including symfony 5.4.23+dfsg-1+deb12u3, symfony 5.4.4+dfsg-1ubuntu8+esm1, symfony 5.4.53+dfsg-0+deb12u1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-50340 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo