6.9

CVE-2026-62992: smarty-php smarty Path Traversal

CVSS: 6.9v4.0MediumDeferred
AliasesUBUNTU-CVE-2026-62992DEBIAN-CVE-2026-62992
Published 07-08-2026Last modified 07-08-2026

Vulnerability summary

CVE-2026-62992 is a medium (CVSS 6.9) Path Traversal vulnerability in smarty-php smarty. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.9% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.53%
0%100%
Low · +0.17 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 07-08-2026
    PublishedVulnerability first disclosed.
  2. 07-08-2026
    Last modifiedVulnerability information updated.

Description

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating that a requested path lies within a configured secure directory. An attacker able to place or reference a symlink within a directory Smarty treats as trusted (e.g., a template or config directory) could use it to point outside the intended secure directory, bypassing the containment check and reading arbitrary files accessible to the PHP process. This issue is fixed in versions 5.8.2 and 4.5.7.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.53%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

+0.17 pp

From 0.36% on 20-09-2026

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

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

Debian2 products
  • smarty3All versions (No fix recorded)
  • smarty4All versions (No fix recorded)
Ubuntu2 products
  • smarty3All versions (No fix recorded)
  • smarty4All versions (No fix recorded)
Smarty-php1 product
  • smarty≥ 5.0.0, < 5.8.2 | < 4.5.7

3 vendors · 5 products

References

8 links