Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-23614

36
FAUCET Score

CVE-2022-23614 is a critical code injection vulnerability affecting Twig, an open-source PHP template language, specifically when operating in sandbox mode. It allows attackers to execute arbitrary PHP code due to improper enforcement of closure constraints within the 'sort' filter's 'arrow' parameter. This vulnerability carries a CVSS score of 9.8 (CRITICAL), indicating a network-based attack with low complexity and high impact on confidentiality, integrity, and availability. While there is no evidence of active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered significant community discussion with 10 mentions, suggesting awareness among security researchers.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.0.0, < 2.14.11CPE matchmatch criteria
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.3.8CPE matchmatch criteria
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
34CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
35CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
11.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
8.21%
Probability of exploitation in next 30 days
EPSS Percentile
94.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0821 is in the 90th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

composerpatch availablevia ghsa
Product: twig/twigFixed in: 2.14.11
composerpatch availablevia ghsa
Product: twig/twigFixed in: 3.3.8
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (2)

composerGHSA-5mv2-rx3q-4w2vhigh

Code injection in Twig

Feb 10, 2022
redhatCVE-2022-23614Moderate

twig: Disallow non closures in `sort` filter when the sandbox mode is enabled

Feb 5, 2022

References

github.com / twigphp/Twig/commit/22b9dc3c03ee66d7e21d9ed2ca76052b134cb9e9
PatchThird Party Advisory
github.com / twigphp/Twig/commit/2eb33080558611201b55079d07ac88f207b466d5
PatchThird Party Advisory
github.com / twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2v
Third Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/I2PVV5DUTRUECTIHMTWRI5Z7DVNYQ2YO
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/OTN4273U4RHVIXED64T7DSMJ3VYTPRE7
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/PECHIY2XLWUH2WLCNPDGNFMPHPRPCEDZ
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/SIGZCFSYLPP7UVJ4E4NLHSOQSKYNXSAD
debian.org / security/2022/dsa-5107
Third Party Advisory