Back
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…
- 5.0MediumCVSS base score
- 3.4%Exploitation in 30 daysEPSS · top 11% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By mitre
- 10 days later
· 10 days later
Published
- 16 years later
· 16 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 3.4% · top 11% of all CVEs (10 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Affected products
n/a
- affected n/a
References
17
- 32746 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBUX02465 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://support.apple.com/kb/HT3549 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20080617 PHP 5.2.6 posix_access() (posix ext) safe_mode bypass (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- GLSA-200811-05 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- SSRT090085 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://wiki.rpath.com/Advisories:rPSA-2009-0035 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1020327 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 35074 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- APPLE-SA-2009-05-12 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 29797 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- TA09-133A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- ADV-2009-1297 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- php-posixaccess-security-bypass(43196) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 35650 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 3941 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2008-2660 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2008-2665)Record last updated .