{"id":"CVE-2009-5054","published":"2011-02-03T16:00:00Z","modified":"2024-09-17T01:35:52Z","title":"Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01589,"percentile":0.76243,"provenance":"source"},"cwes":[],"references":[{"url":"http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":15.25}]},"affected":[{"ecosystem":"Packagist","package":"smarty/smarty","vulnerableRanges":["<3.0.0-beta4"],"patched":["3.0.0-beta4"],"from":["GHSA-6m9f-8vwq-97pm"],"provenance":"source"}],"summary":{"text":"The flaw is in Smarty, a PHP template engine, prior to version 3.0.0 beta 4: it does not take the umask value into account when setting permissions on files it creates. An attacker who can use standard filesystem operations may be able to bypass the access restrictions that were intended for those files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:11Z"},"euvd":{"id":"EUVD-2022-2823","exploited":false,"provenance":"source"}}