New Research Demonstrates Remote Code Execution Exploits Across Major Database Engines

Executive Briefing
“Researcher Zheng Yu from Depthfirst published proofs of concept showing that low-privilege...”
Key Takeaways
- 1.Researcher Zheng Yu published proof-of-concept exploits targeting PostgreSQL, MySQL, ClickHouse, and Oracle systems.
- 2.Common privileges like creating temporary tables allow accounts lacking table-reading rights to reach memory-corruption bugs within the C and C++ database engine code.
- 3.The attack chain against Oracle Database requires no login credentials, combining a bug in Oracle Text and the GraphQL interface of Oracle REST Data Services via an exposed web endpoint.
- 4.Four of the vulnerabilities have received CVE identifiers and vendor patches, while ClickHouse currently lacks a CVE or confirmed fixed version.
Researcher Zheng Yu from Depthfirst published proofs of concept showing that low-privilege database accounts can still run server-level code. The research targets memory-corruption flaws within the underlying C and C++ query engines rather than application table data.
Incident Details & Technical Context
Researcher Zheng Yu published proof-of-concept exploits targeting PostgreSQL, MySQL, ClickHouse, and Oracle systems.
Common privileges like creating temporary tables allow accounts lacking table-reading rights to reach memory-corruption bugs within the C and C++ database engine code.
The attack chain against Oracle Database requires no login credentials, combining a bug in Oracle Text and the GraphQL interface of Oracle REST Data Services via an exposed web endpoint.
Four of the vulnerabilities have received CVE identifiers and vendor patches, while ClickHouse currently lacks a CVE or confirmed fixed version.
Risk Assessment & Security Implications
This discovery highlights system security risks stemming from the incomplete separation between logical SQL application permissions and the memory layer of underlying system programming languages.
Restricting unnecessary temporary table creation privileges serves as a practical defensive measure alongside applying vendor security patches.
Mitigation & Factors to Watch
The complete attack chains have not been independently reproduced outside of the initial research.
There is currently no sign that these vulnerabilities have been exploited in real-world attacks.







