All reports
Medium

Smarty Does Not Consider Umask Values When Setting Permissions

Affected versions

Affected versions
< 3.0.0-beta4
Fixed version
3.0.0-beta4

Exploitation

CVE-2009-5054

Probability of exploitation in the next 30 days: 1.59%

FIRST EPSS · 2026-11-22

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.

Links