Back
CVE-2007-5970
MySQL 5.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote authenticated users to gain privileges on arbitrary tables via unspecified…
- 5.8MediumCVSS base score
- 2.1%Exploitation in 30 daysEPSS · top 18% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
MySQL 5.1.x before 5.1.23 and 6.0.x before 6.0.4 allows remote authenticated users to gain privileges on arbitrary tables via unspecified vectors involving use of table-level DATA DIRECTORY and INDEX DIRECTORY options when creating a partitioned table with the same name as a table on which the user lacks privileges.
Timeline
ID reserved
By mitre
- 26 days later
· 26 days later
Published
- 17 years later
· 17 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.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.1% · top 18% of all CVEs (9 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.8.
Affected products
n/a
- affected n/a
References
7
- http://bugs.mysql.com/bug.php?id=32091 (opens in a new tab)x_refsource_CONFIRMx_transferred
- mysql-datadirectory-privilege-escalation(38988) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 1019084 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- ADV-2008-0560 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 42607 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-23.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html (opens in a new tab)x_refsource_CONFIRMx_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-2007-5940 (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-2007-5970)Record last updated .