
CVE catalog
CVE-2026-62993
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 4.5.7 and 5.8.2, depending on the release line, Smarty's {fetch} handling i
- Severity
- High · CVSS 8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.57% · Oct 25, 2026
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 4.5.7 and 5.8.2, depending on the release line, Smarty's {fetch} handling in libs/plugins/function.fetch.php and src/FunctionHandler/Fetch.php used Security::isTrustedUri() to validate only the initial remote URL against trusted_uri when a security policy was active. For resources handled by file_get_contents(), including HTTPS URLs, PHP followed HTTP redirects by default. An attacker who could supply or influence a fetch target and had an open redirect on a trusted host could redirect the request to an attacker-chosen internal endpoint, bypass the trusted_uri allowlist, and perform server-side request forgery. This issue is fixed in versions 4.5.7 and 5.8.2.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | smarty3 | sid | 3.1.48-2 | vulnerable |
| Debian | smarty3 | forky | 3.1.48-2 | vulnerable |
| Debian | smarty3 | trixie | 3.1.48-2 | vulnerable |
| Debian | smarty3 | bookworm | 3.1.47-2+deb12u1 | vulnerable |
| Debian | smarty3 | bookworm-security | 3.1.47-2+deb12u1 | vulnerable |
| Debian | smarty4 | sid | 4.5.5-1 | vulnerable |
| Debian | smarty4 | forky | 4.5.5-1 | vulnerable |
| Debian | smarty4 | trixie | 4.5.5-1 | vulnerable |
| Debian | smarty4 | bookworm | 4.3.0-1+deb12u2 | vulnerable |
| Debian | smarty4 | bookworm-security | 4.3.0-1+deb12u2 | vulnerable |
| Composer | smarty/smarty | Not reported | 4.5.7 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | smarty3 | source | sid | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | smarty3 | source | forky | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | smarty3 | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | smarty3 | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | smarty4 | source | sid | (unfixed) | not yet assigned | Not reported | [1150507] |
| Debian | smarty4 | source | forky | (unfixed) | not yet assigned | Not reported | [1150507] |
| Debian | smarty4 | source | trixie | (unfixed) | not yet assigned | Not reported | [1150507] |
| Debian | smarty4 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1150507] |
| Composer | smarty/smarty | composer | Not reported | 4.5.7 | Not reported | GHSA-CQ55-C7WV-PXMQ | Not reported |
Notes
[trixie] smarty3: Minor issue [bookworm] smarty3: Minor issue [trixie] smarty4: Minor issue [bookworm] smarty4: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [smarty3]Affected
Details (4)
3.1.47-2+deb12u1· all · bookwormAffected
nvd · smarty3 · debian · bookworm; nvd · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookwormAffected
nvd · smarty3 · debian · bookworm; nvd · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookworm-securityAffected
nvd · smarty3 · debian · bookworm; nvd · smarty3 · debian · 12
3.1.47-2+deb12u1· all · bookworm-securityAffected
nvd · smarty3 · debian · bookworm; nvd · smarty3 · debian · 12
- [smarty4]Affected
Details (4)
4.3.0-1+deb12u2· all · bookwormAffected
nvd · smarty4 · debian · bookworm; nvd · smarty4 · debian · 12
4.3.0-1+deb12u2· all · bookwormAffected
nvd · smarty4 · debian · bookworm; nvd · smarty4 · debian · 12
4.3.0-1+deb12u2· all · bookworm-securityAffected
nvd · smarty4 · debian · bookworm; nvd · smarty4 · debian · 12
4.3.0-1+deb12u2· all · bookworm-securityAffected
nvd · smarty4 · debian · bookworm; nvd · smarty4 · debian · 12
[Debian 13 (Trixie)]
Observed:
References
- [https://github.com/advisories/GHSA-cq55-c7wv-pxmq]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-62993]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-62993]
- [https://security-tracker.debian.org/tracker/CVE-2026-62993]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-62993.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]