CVE-2008-2665: PHP

Medium severity, CVSS 5.0. EPSS: 3.4% chance of exploitation in the next 30 days.

Directory traversal vulnerability in the posix_access function in PHP 5.2.6 and earlier allows remote attackers to bypass safe_mode restrictions via a .. (dot dot) in an http URL, which results in the URL being canonicalized to a local filename after the safe_mode check has successfully run.

Affected products

  • PHP PHP: version 5.2.6 only

Published 2008-06-20. Last modified 2026-06-16.