Advisory record · GHSA-rjhh-76wf-8xmw

Smarty Security stream restriction bypass through stream: resource

CVSS 6.9 MediumEPSS 0.0051 · 43rd percentile

Published by the GitHub Advisory Database at 7 Aug 2026, 15:10 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.45.8.4
Identifiers
GHSA-rjhh-76wf-8xmw · CVE-2026-62996 · PKSA-7cg9-1cz1-3qff
Weakness (CWE)
CWE-22
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 (smarty/smarty) versions 5.0.0 before 5.8.4 are affected, with the fix in 5.8.4. An attacker who can supply template content that is rendered with Smarty Security enabled can use the built-in stream resource type to bypass the stream restrictions and read local files that the PHP process can access. Upgrade to smarty/smarty 5.8.4 or later. The source gives no workaround beyond upgrading.

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.0051, the 43rd percentile, on 14 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.