Skip to content
Vulnerability Intelligence

CVE-2024-50340

MediumExploited

Symfony allows changing the environment through a query

Published Nov 6, 2024 · Updated Aug 12, 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 Industry KEV feed, CIRCL KEV since Sep 10, 2026. No public exploit code is known.
  • EPSS estimates a 64% 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.

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)

64%

Higher than 99.2% of all scored CVEs

Exploited in the wild

Yes

2 catalog listings

Public exploit code

None known

Get the full CVE-2024-50340 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

CatalogAddedRemediation dueRansomware use
Industry KEV feedSep 10, 2026n/aNot reported
CIRCL KEVSep 10, 2026n/aNot reported

Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Affected Products

17 affected entries in total
ProductAffected versionsFixed in
symfony/runtimecomposer>= 7.0.07.1.7
symfony/symfonycomposer>= 7.0.07.1.7
symfonydebian>= < 5.4.465.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

  1. Publicly disclosed

    Nov 6, 2024

  2. Last updated

    Aug 12, 2026

  3. Added to Industry KEV feed

    Sep 10, 2026

  4. Added to CIRCL KEV

    Sep 10, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-50340 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo