6.9

CVE-2026-62992: Smarty: Symlink path traversal out of trusted directories

Deferred
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) vulnerability in smarty-php smarty. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 32.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.36%
0%100%
Low · -0.17 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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.36%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

Decrease -0.17 pp

From 0.53% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • smarty3All versions (No fix recorded)
  • smarty4All versions (No fix recorded) | < 4.5.5-1+deb13u1 | < 4.5.8-1
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