CVE-2004-1466: Gallery Project Gallery

High severity, CVSS 7.5. EPSS: 5.2% chance of exploitation in the next 30 days.

The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.

Affected products

Published 2004-12-31. Last modified 2026-06-16.