kbrain

CVE-2006-5178

MEDIUM · CVSS 6.2EPSS 0.7%EU EUVD

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.

Key facts

CVSS score
6.2 (v2.0)
Severity
MEDIUM
CVSS vector
AV:L/AC:H/Au:N/C:C/I:C/A:C
Weakness (CWE)
CWE-362
EPSS score
0.7% (52th percentile)
In CISA KEV
No
In EU EUVD
Yes (EUVD-2006-5163)
Published
October 10, 2006
NVD last modified
June 16, 2026
Status
Modified

EU Vulnerability Database (EUVD)

This vulnerability is also tracked by ENISA as EUVD-2006-5163 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.

View on the EU Vulnerability Database

Affected products

  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php
  • php / php

and 4 more…

References

Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS

Query CVEs from your AI assistant

The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.

Add the CVE brain