Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-23614
symfony twig

Score9.8 Critical
CVSS 3.1
Exploit probability (EPSS)6.6%
within the next 30 days
CategoryCode execution & injection
Published4 February 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Code injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Twig is an open source template language for PHP. When in a sandbox mode, the `arrow` parameter of the `sort` filter must be a closure to avoid attackers being able to run arbitrary PHP functions. In affected versions this constraint was not properly enforced and could lead to code injection of arbitrary PHP code. Patched versions now disallow calling non Closure in the `sort` filter as is the case for some other filters. Users are advised to upgrade.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-74, CWE-94 – Code injection

Affected products

VendorProductVersions
symfonytwig>=2.0.0 <2.14.11
symfonytwig>=3.0.0 <3.3.8
fedoraprojectfedora34
fedoraprojectfedora35
debiandebian linux11.0

Sources

Latest in the same category

  • CVE-2026-140255 Medium 5.5
    A vulnerability has been found in code-projects POS Pharmacy System 1.0. The impacted element is an unknown function of the file login.php. The manipulation of the argument username/password leads to sql injection. It…
    Code execution & injection · 1 December 2026
  • CVE-2026-140254 Low 2.1
    A flaw has been found in itsourcecode Stock Management System 1.0. The affected element is an unknown function of the file php_action/editProduct.php. Executing a manipulation of the argument productId can lead to sql…
    Code execution & injection · 1 December 2026
  • CVE-2026-140133 Medium 5.5
    A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function _build_namespace of the file libraries/python/mcp_use/client/code_executor.py of the component CodeExecutor.…
    Code execution & injection · 1 December 2026
  • CVE-2026-125615 Critical 9.3
    Movable Type contains an OS command injection vulnerability. Arbitrary OS commands may be executed by sending a specially crafted request to mt-wizard.cgi.
    Code execution & injection · 1 December 2026
  • CVE-2026-140128 Medium 5.5
    A flaw has been found in Baison E3 Omni-Channel Retail Platform up to 2.5.1. Affected is an unknown function of the component KHATTACH Controller. Executing a manipulation of the argument retObjs can lead to sql…
    Code execution & injection · 1 December 2026
  • CVE-2026-140057 Low 2
    A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the component Menu Management.…
    Code execution & injection · 1 December 2026