PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a temporary view based on a function containing malicious code. When the anon.get_tablesample_ratio function is then called, the malicious code is executed with superuser privileges. This privilege elevation can be exploited by users having the CREATE privilege in PostgreSQL 15 and later. The risk is higher with PostgreSQL 14 or with instances upgraded from PostgreSQL 14 or a prior version because the creation permission on the public schema is granted by default. The problem is resolved in PostgreSQL Anonymizer 3.0.1 and further versions
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
Publisert
2026-02-11
Sist endret
2026-06-17
Tildelt av
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS-vektor
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Scoret av
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Sannsynlighet for utnyttelse
0.3 %
høyere enn 20 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK.
Dette viser hvilke teknikker svakhetsklassen historisk brukes til.
Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
T1574.001: DLL stealth, execution
T1574.004: Dylib Hijacking stealth, execution
T1574.007: Path Interception by PATH Environment Variable stealth, execution
T1574.008: Path Interception by Search Order Hijacking stealth, execution
T1574.009: Path Interception by Unquoted Path stealth, execution