{"cve":"CVE-2007-2692","nvd":{"published":"2007-05-16T01:19:00.000","modified":"2026-06-16T22:40:07.867","status":"Modified","description":"The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privileges when returning from SQL SECURITY INVOKER stored routines, which allows remote authenticated users to gain privileges.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["http://bugs.mysql.com/bug.php?id=27337","http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html","http://lists.mysql.com/announce/470","http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html","http://osvdb.org/34765"],"products":["mysql:mysql","oracle:mysql"],"source":"nvd","synced_at":"2026-10-19T19:46:28.846926071+00:00"},"epss":{"cve":"CVE-2007-2692","score":0.01881,"percentile":0.79464,"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."]}