ADVISORIES

Vulnerability

CVE-2024-50340

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.

7 advisories report this vulnerability, across 3 ecosystems.

High severity All Debian 4Ubuntu 2Packagist 1

Advisories

  • DEBIAN-CVE-2024-50340

    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…

    CVE-2024-50340 Debian Updated 2 November 2026
  • DSA-5809-1

    symfony - security update

    CVE-2024-50340CVE-2024-50342CVE-2024-50343CVE-2024-50345 Debian Updated 20 November 2026
  • DSA-6312-1

    symfony - security update

    CVE-2024-50340CVE-2026-45063CVE-2026-45064CVE-2026-45065 Debian Updated 20 November 2026
  • DSA-6317-1

    symfony - security update

    CVE-2024-50340CVE-2026-45063CVE-2026-45065CVE-2026-45067 Debian Updated 20 November 2026
  • GHSA-x8vp-gf4q-mw5j

    Symfony allows changing the environment through a query

    Moderate CVE-2024-50340 Packagist Updated 7 November 2024
  • UBUNTU-CVE-2024-50340

    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…

    CVE-2024-50340 Ubuntu Updated 20 May 2026
  • USN-7272-1

    symfony vulnerabilities

    CVE-2022-24894CVE-2022-24895CVE-2023-46734CVE-2024-50340 Ubuntu Updated 27 April 2026

References