Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.8

PostgreSQL 14‑18 lets privileged user run any function

published 10 days ago
Summary

Versions 14, 15, 16, and 18 of PostgreSQL (before the latest patch releases) let a user who can execute the amcheck routine set a malicious search path and cause other functions to run with the rights of index owners. This could let the attacker perform actions they should not be allowed to do. Upgrade PostgreSQL to the newest patch level for each major version or restrict execution of the amcheck function to trusted accounts.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Docker Hardened Images:Alpine:3.23 docker hardened images postgresql16 All versions
Docker Hardened Images:Alpine:3.24 docker hardened images postgresql16 All versions
Docker Hardened Images:Alpine:3.23 docker hardened images postgresql17 All versions
Docker Hardened Images:Alpine:3.24 docker hardened images postgresql17 All versions
Docker Hardened Images:Alpine:3.23 docker hardened images postgresql18 All versions
Docker Hardened Images:Alpine:3.24 docker hardened images postgresql18 All versions
Docker Hardened Images:Debian:13 docker hardened images postgresql-17 All versions
Original advisory text
Untrusted search path in PostgreSQL amcheck allows a grantee of amcheck function EXECUTE privilege to execute arbitrary…
Untrusted search path in PostgreSQL amcheck allows a grantee of amcheck function EXECUTE privilege to execute arbitrary functions as the owners of expression indexes that depend on the search path, via setting a hostile search path before calling the amcheck function. Within major versions 18, 16, 15, and 14, minor versions before PostgreSQL 18.6, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.
References
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker partial control (estimated)
Severity
3.8 Low
Timeline
Published11 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
Track software like this
Free during beta