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.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 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
- 31 Oct 2026, 14:24 UTC First seen by agentprime
- 31 Oct 2026, 14:24 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-f6wf-28g6-769x
- OSV: GHSA-f6wf-28g6-769x
- github.com/smarty-php/smarty/security/advisories/GHSA-f6wf-28g6-769x
- github.com/smarty-php/smarty/commit/99c048ce7a590c519b79fbd38ad0143a08183a1f
- github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90
- github.com/smarty-php/smarty
- github.com/smarty-php/smarty/releases/tag/v4.5.7
- github.com/smarty-php/smarty/releases/tag/v5.8.2