CVE-2009-5054

CVE-2009-5054 is a high-severity vulnerability in Smarty with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-264.

Key facts

Description

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.

Frequently asked questions

What is CVE-2009-5054?
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.
How severe is CVE-2009-5054?
CVE-2009-5054 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2009-5054 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (73rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2009-5054?
CVE-2009-5054 primarily affects Smarty. In total, 61 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2009-5054?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2009-5054 published?
CVE-2009-5054 was published on 2011-02-03 and last updated on 2026-06-16.

References

Affected products (61)

More vulnerabilities in Smarty

All CVEs affecting Smarty →

Other CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities

Browse all CWE-264 (Permissions, Privileges, and Access Controls) vulnerabilities →