Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2006-5178

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…

Medium6.2EPSS 0.66%
Published
Updated
Reserved
Assigned by
mitre

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.

Scores

CVSS scores of CVE-2006-5178, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium6.2AV:L/AC:H/Au:N/C:C/I:C/A:C
EPSS (exploitation in 30 days)
0.66% · top 48% of all CVEs (5 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.2.

Weakness

Affected products

  • n/a

    • affected n/a

References (15)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2006-5178 badge
[![CVE-2006-5178](https://trackcve.app/badge/CVE-2006-5178.svg)](https://trackcve.app/cve/CVE-2006-5178)

Record last updated .