{"cve":"CVE-2006-5178","nvd":{"published":"2006-10-10T04:06:00.000","modified":"2026-06-16T22:30:40.070","status":"Modified","description":"Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-362"],"references":["http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html","http://secunia.com/advisories/22235","http://secunia.com/advisories/22424","http://securityreason.com/securityalert/1692","http://securitytracker.com/id?1016977"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:43:14.363260067+00:00"},"epss":{"cve":"CVE-2006-5178","score":0.00658,"percentile":0.51521,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}