Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Oracle

News Analysis

Database Code Execution Vulnerabilities Exposed

A researcher uncovered code execution flaws in multiple database systems, including PostgreSQL and MySQL, that can be triggered with limited access rights.

OracleDatabases

Key points

  • Zheng Yu, a researcher at Depthfirst, showed that low-privilege accounts can be used to run code on servers by exploiting memory issues in database engines, affecting PostgreSQL, MySQL, ClickHouse, and Oracle.
  • PostgreSQL's default TEMPORARY privilege allows an account to create objects and send input that can cause memory corruption, leading to code execution via CVE-2026-116331.
  • Oracle fixed the Oracle Text bug, CVE-2026-114819, in its November update, and the GraphQL flaw, CVE-2026-91609, in its October update. On their own, Oracle rates neither as exploitable without a login.

Zheng Yu, a researcher at Depthfirst, found weaknesses in how database access is controlled, revealing that accounts with minimal privileges can be used to run code on the server by taking advantage of memory-related issues in database software. The researcher created examples of how these flaws could be exploited in PostgreSQL, MySQL, ClickHouse, and Oracle. These methods do not need actual attacks to be carried out, though they have not been seen in real-world cases. PostgreSQL's default TEMPORARY privilege lets an account create objects and send input that can cause memory problems. The CVE-2026-116331 in PostgreSQL allows an account with the right to create objects to run code as the user running the database. The PostgreSQL flaw was fixed in a recent security notice, and the researcher was acknowledged for the discovery. The researcher showed how a login can create the needed objects in a temporary schema without accessing actual data, then use a type-confusion error to take control of the server. Oracle's advisory for MySQL says the flaw requires high-level access, but the researcher proved it can be exploited with limited rights. The researcher successfully ran code on the 26.7.0 MySQL image using an account with only temporary-table creation permissions, which is less than what the advisory suggested. Oracle Database is the only system where an attacker doesn't need an account to exploit the flaw. Oracle fixed the Oracle Text bug, CVE-2026-114819, in its November update, which is marked as critical with a score of 9.9. The GraphQL flaw, CVE-2026-91609, was resolved in the October update, but Oracle says neither issue can be exploited without a login. The researcher created a shell on version 26.7.5.10 by setting a specific configuration option to zero. This flaw lacks a CVE or a confirmed fix, so users should reach out to the vendor for a patch. ClickHouse versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. In addition to updating systems, administrators should check account permissions to ensure non-essential accounts don't have unnecessary temporary-table rights. Removing the TEMPORARY privilege from non-essential accounts is advised, but this does not cover the Oracle-specific method, which doesn't require a login. The researcher's findings stress the importance of reviewing both read and write permissions when managing database accounts. The flaws have not been independently confirmed, and there is no evidence they have been used in real attacks. The researcher's work shows that database engines may be vulnerable to code execution even when access is limited to certain operations.

What to do

  1. Update affected systems. For ClickHouse, the sources list versions before 18.7, 17.12, 16.16, 15.20 and 14.25 as affected, but report no confirmed fixed version for that flaw; check with the vendor.
  2. Review account permissions to ensure non-essential accounts do not have unnecessary temporary-table rights.
  3. Remove the TEMPORARY privilege from non-essential accounts, though this does not address the Oracle-specific path, which requires no login.
  4. Contact the vendor for a patch for the vulnerability without a CVE or confirmed fixed version.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

The Hacker Newsthehackernews.com

“Researcher Demonstrates Database RCE Exploits Affecting PostgreSQL, MySQL and Oracle”

Low-privilege database accounts that cannot read a single application table can still be used to run code on the database server itself, a researcher has shown, by reaching memory-corruption bugs in the engine code behind ordinary SQL. The exploits, published yesterday, are the researcher's proofs of concept against PostgreSQL, MySQL and ClickHouse, plus a separate Oracle chain that needs no

More on this topic