All reports
Low

postgresql: Absent permission checks on trigger function to be called when creating a trigger

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2012-0866

Probability of exploitation in the next 30 days: 3.63%

FIRST EPSS · 2026-11-19

Description

CREATE TRIGGER in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 does not properly check the execute permission for trigger functions marked SECURITY DEFINER, which allows remote authenticated users to execute otherwise restricted triggers on arbitrary data by installing the trigger on an attacker-owned table.