Advisory record · GHSA-f6wf-28g6-769x

Smarty: Symlink path traversal out of trusted directories

CVSS 6.9 MediumEPSS 0.0053 · 45th percentile

Published by the GitHub Advisory Database at 7 Aug 2026, 15:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
smarty/smartyPackagist>=5.0.0, <5.8.2 || <4.5.75.8.2, 4.5.7
Identifiers
GHSA-f6wf-28g6-769x · CVE-2026-62992 · PKSA-zw1q-6h4d-mf1m
Weakness (CWE)
CWE-22 · CWE-61
Published
7 Aug 2026
Updated
7 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Smarty versions below 4.5.7, and from 5.0.0 up to but not including 5.8.2, are vulnerable when the Security policy is enabled. A symlink inside a trusted directory can pass the path check, letting a template read arbitrary files outside the secure directory. An attacker would need to create such a symlink and get a template to reference it, and could then read files the PHP process can access. Upgrade to 4.5.7 or 5.8.2. Workaround: prevent untrusted users from creating symlinks in trusted template directories.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.9 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0053, the 45th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:24 UTC First seen by agentprime
  2. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.