Path Traversal in Twigphp Twig

CVE-2022-39261

Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem loader loads templates for which the name is a user input. It is possible to use the `sou…

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.095 (93.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

  • Twigphp Twig — versions => 1.0.0, < 1.44.7, >= 2.0.0, < 2.15.3, >= 3.0.0, < 3.4.3

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-39261?
CVE-2022-39261 is a high-severity vulnerability in Twigphp Twig, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-09-28.
How severe is CVE-2022-39261?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2022-39261 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.