E-Maj 5.0.1: Fixing a Critical Privilege Escalation Vulnerability to superuser in PostgreSQLBrief · digest for November 1
Brief≈ 1 min

E-Maj 5.0.1: Fixing a Critical Privilege Escalation Vulnerability to superuser in PostgreSQL

The E-Maj extension is widely used in PostgreSQL infrastructure for detailed write-operation auditing and "time travel"—rolling back tables to fixed marks without restoring an entire physical cluster. To intercept changes, the extension registers system functions executed with elevated SECURITY DEFINER privileges.

In an official PostgreSQL news bulletin, developer Philippe Beaudoin announced an emergency security update, E-Maj 5.0.1.

The release patches a critical privilege escalation vulnerability affecting every single previous version. The flaw allowed any user with basic database connection rights to run a specific call to a utility procedure and gain full administrative control over the cluster as a superuser.

The patch is available in the PGXN directory and is compatible with PostgreSQL versions 14 through 19, while the companion web client Emaj_web 5.0 remains backward-compatible. The update applies via ALTER EXTENSION emaj UPDATE TO '5.0.1'; and does not require restarting the DBMS server.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 2