CVE-2024-50340 | Ability to change environment from query in symfony/runtime

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.

Published: 2024-11-06 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-50340 is rated Moderate Risk (58.9/100): CVSS High severity, with high exploitation likelihood (EPSS 63.42%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-50340

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 86.62% 63.42% -23.20%
2 2026-06-10 85.05% 86.62% +1.57%
3 2026-06-05 85.05%

Full EPSS history (65 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-50340

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 3.4 [email protected]

Weakness enumeration for CVE-2024-50340

GitHub Security Advisory for CVE-2024-50340

GHSA-x8vp-gf4q-mw5j · Severity: medium · Ecosystem: composer — Symfony allows changing the environment through a query

OS Trackers for CVE-2024-50340

vendor priority summary link
debian unimportant CVE-2024-50340 unimportant priority: Debian including 1 source packages (symfony), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-50340
ubuntu medium CVE-2024-50340 medium priority: Ubuntu including 1 source packages (symfony), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): not-affected 3, released 3, ignored 2, needs-triage 1. https://ubuntu.com/security/CVE-2024-50340

Affected software / configurations for CVE-2024-50340

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2024-50340

cvelogic Threat Intelligence