A recent research paper by Zheng Yu, a researcher at Depthfirst, has revealed a critical security vulnerability affecting multiple databases, including PostgreSQL, MySQL, Oracle, and ClickHouse. The researcher has demonstrated that low-privilege database accounts, which are not allowed to read a single application table, can still be used to execute code on the database server itself by exploiting memory-corruption bugs in the database engine code.
The exploits, which have been published as proofs of concept, target the C and C++ code behind ordinary SQL queries. The researcher argues that database accounts' SQL permissions control access to tables and schemas, but not the underlying engine code that executes queries. This means that common grants, such as the default TEMPORARY privilege in PostgreSQL, can provide an account with enough access to reach the vulnerable code.
The researcher has identified four vulnerabilities, with four CVEs assigned: CVE-2026-116331 in PostgreSQL, CVE-2026-101786 in MySQL, and CVE-2026-114819 and CVE-2026-91609 in Oracle. These flaws have been fixed by the respective vendors, but the full attack chains were not independently reproduced, and there is no evidence that they have been used in a real attack.
In the case of PostgreSQL, the vulnerability, CVE-2026-116331, allows an account with the ability to create database objects to execute code as the operating system user that runs the database. This was fixed in a recent security advisory. The researcher's analysis shows that a plain login role can build the necessary objects in its own temporary schema without touching application data, then exploit a type-confusion bug to gain control of the server.
MySQL has a similar flaw in its query optimizer, CVE-2026-101786, which affects Server and Cluster versions 26.7.0 to 26.7.1. Oracle's MySQL advisory rates it as requiring high privileges, but the researcher was able to execute code on the 26.7.0 image with an account that could only create temporary tables and could not read existing ones.
Oracle Database is the only case where an attacker needs no account at all. A bug in Oracle Text and a flaw in the GraphQL interface of Oracle REST Data Services can be chained together to reach the engine code and execute commands before any login. Oracle has patched the Oracle Text bug, CVE-2026-114819, and the GraphQL flaw, CVE-2026-91609, but the company rates neither as exploitable without a login.
ClickHouse is the fourth target, with the researcher reporting an integer-overflow write in how it reads a binary row format. This can be reached by a user who sets a single option, format_binary_max_string_size, to zero, and a shell can be reproduced on version 26.7.5.10. This vulnerability has no CVE and no confirmed fixed version, so operators should check with the vendor for the fix.
To mitigate these vulnerabilities, database administrators should review what accounts can do, not just what they can read, and remove the TEMPORARY privilege and broad temporary-table rights from accounts that do not need them. This step does not close the Oracle path, which starts without any account. Additionally, installing the latest updates and patches is essential to prevent potential attacks.
A new technique called Weight2Shell has been disclosed by cybersecurity researchers, which allows artificial intelligence (AI) models to produce different behavior on different machines, eve…
Season 2: Legacy for Gears of War: E‑Day launches tomorrow, marking the franchise’s twentieth anniversary and offering a wave of new content for both veteran players and newcomers. The updat…
Hela: of Mice & Magic is set to launch on December 1, 2026 for Xbox Series X|S, and the title will be available on day one through Xbox Game Pass. The game presents an open‑world adventure i…