All vulnerabilities

Servers and applications

CVE-2008-2665

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.

Severity
Medium 5.0
Published
20 Jun 2008
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
3.4% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-2665
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-2665