CVE-2009-5054Smarty
High 7.5 No auth needed
Follow: this CVE · Smarty · Smarty We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Feb 3, 2011
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.
What to do
- Apply the vendor's security update for Smarty.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | smarty/smarty |
< 3.0.0-beta4 |
3.0.0-beta4 |
composer require "smarty/smarty:^3.0.0-beta4" |
Per OSV / GitHub Advisories (GHSA-6m9f-8vwq-97pm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| smarty | smarty | ≤ 2.6.26 |
| smarty | smarty | 1.0 |
| smarty | smarty | 1.0a |
| smarty | smarty | 1.0b |
| smarty | smarty | 1.1.0 |
| smarty | smarty | 1.2.0 |
| smarty | smarty | 1.2.1 |
| smarty | smarty | 1.2.2 |
| smarty | smarty | 1.3.0 |
| smarty | smarty | 1.3.1 |
| smarty | smarty | 1.3.2 |
| smarty | smarty | 1.4.0 |
| smarty | smarty | 1.4.0 |
| smarty | smarty | 1.4.0 |
| smarty | smarty | 1.4.1 |
| smarty | smarty | 1.4.2 |
| smarty | smarty | 1.4.3 |
| smarty | smarty | 1.4.4 |
| smarty | smarty | 1.4.5 |
| smarty | smarty | 1.4.6 |
| smarty | smarty | 1.5.0 |
| smarty | smarty | 1.5.1 |
| smarty | smarty | 1.5.2 |
| smarty | smarty | 2.0.0 |
| smarty | smarty | 2.0.1 |
| smarty | smarty | 2.1.0 |
| smarty | smarty | 2.1.1 |
| smarty | smarty | 2.2.0 |
| smarty | smarty | 2.3.0 |
| smarty | smarty | 2.3.1 |
| smarty | smarty | 2.4.0 |
| smarty | smarty | 2.4.1 |
| smarty | smarty | 2.4.2 |
| smarty | smarty | 2.5.0 |
| smarty | smarty | 2.5.0 |
| smarty | smarty | 2.5.0 |
| smarty | smarty | 2.6.0 |
| smarty | smarty | 2.6.0 |
| smarty | smarty | 2.6.0 |
| smarty | smarty | 2.6.0 |
| smarty | smarty | 2.6.1 |
| smarty | smarty | 2.6.2 |
| smarty | smarty | 2.6.3 |
| smarty | smarty | 2.6.4 |
| smarty | smarty | 2.6.5 |
| smarty | smarty | 2.6.6 |
| smarty | smarty | 2.6.7 |
| smarty | smarty | 2.6.9 |
| smarty | smarty | 2.6.10 |
| smarty | smarty | 2.6.11 |
| smarty | smarty | 2.6.12 |
| smarty | smarty | 2.6.13 |
| smarty | smarty | 2.6.14 |
| smarty | smarty | 2.6.15 |
| smarty | smarty | 2.6.16 |
| smarty | smarty | 2.6.17 |
| smarty | smarty | 2.6.18 |
| smarty | smarty | 2.6.20 |
| smarty | smarty | 2.6.22 |
| smarty | smarty | 2.6.24 |
and 1 more in the JSON
Official sources
References
Links published by the sources. Open them with care.