7.5

CVE-2022-39261: debian debian_linux Path Traversal

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2022-39261DEBIAN-CVE-2022-39261DLA-3147-1
Published 28-09-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-39261 is a high (CVSS 7.5) Path Traversal vulnerability in debian debian_linux. EPSS estimates a 3.17% chance of exploitation in the next 30 days, higher than 87.8% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
3.17%
0%100%
Low · +0.61 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 28-09-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

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 `source` or `include` statement to read arbitrary files from outside the templates' directory when using a namespace like `@somewhere/../some.file`. In such a case, validation is bypassed. Versions 1.44.7, 2.15.3, and 3.4.3 contain a fix for validation of such template names. There are no known workarounds aside from upgrading.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

3.17%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

+0.61 pp

From 2.56% on 20-09-2026

20-09-202620-10-2026
EPSS score
3.17%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian3 products
  • php-twig< 2.14.3-1+deb11u2 | < 3.4.3-1
  • twig< 2.6.2-2+deb10u1
  • debian_linuxEOL10.0 | 11.0
Ubuntu2 products
  • php-twig< 2.12.5-1ubuntu0.1~esm1 | < 3.3.8-2ubuntu4+esm1
  • twig< 1.23.1-1ubuntu4+esm1 | < 2.4.6-1ubuntu0.1~esm1
Drupal1 product
  • drupal≥ 8.0.0, < 9.3.22 | ≥ 9.4.0, < 9.4.7
Fedoraproject1 product
Symfony1 product
  • twig≥ 1.0.0, < 1.44.7 | ≥ 2.0.0, < 2.15.3 | ≥ 3.0.0, < 3.4.3
Twigphp1 product
  • twig=> 1.0.0, < 1.44.7 | ≥ 2.0.0, < 2.15.3 | ≥ 3.0.0, < 3.4.3

6 vendors · 9 products

References

15 links
Show all 15 references