Servers and applications
CVE-2009-4030
MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data…
- Severity
- Medium 4.4
- Published
- 30 Nov 2009
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 21 Oct 2026
- Exploit chance
- 0.4% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- Link following (CWE-59)
- Attack
- Needs local access · No login needed
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
AV:L/AC:M/Au:N/C:P/I:P/A:P- Sources
- NVD
Description
MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4098 and CVE-2008-2079.
Affected software
| Software | Affected versions |
|---|---|
MySQLServers and applications · cpe:a:oracle:mysql |
All 23 release lines
|