CVE-2012-0866

medium
Published 2012-07-18 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.5

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

VendorProductVersionsFixed
postgresql postgresqlpostgresql8.3
postgresql postgresqlpostgresql8.3.1
postgresql postgresqlpostgresql8.3.2
postgresql postgresqlpostgresql8.3.3
postgresql postgresqlpostgresql8.3.4
postgresql postgresqlpostgresql8.3.5
postgresql postgresqlpostgresql8.3.6
postgresql postgresqlpostgresql8.3.7
postgresql postgresqlpostgresql8.3.8
postgresql postgresqlpostgresql8.3.9
postgresql postgresqlpostgresql8.3.10
postgresql postgresqlpostgresql8.3.11
postgresql postgresqlpostgresql8.3.12
postgresql postgresqlpostgresql8.3.13
postgresql postgresqlpostgresql8.3.14
postgresql postgresqlpostgresql8.3.15
postgresql postgresqlpostgresql8.3.16
postgresql postgresqlpostgresql8.3.17
postgresql postgresqlpostgresql8.4
postgresql postgresqlpostgresql8.4.1
postgresql postgresqlpostgresql8.4.2
postgresql postgresqlpostgresql8.4.3
postgresql postgresqlpostgresql8.4.4
postgresql postgresqlpostgresql8.4.5
postgresql postgresqlpostgresql8.4.6
postgresql postgresqlpostgresql8.4.7
postgresql postgresqlpostgresql8.4.8
postgresql postgresqlpostgresql8.4.9
postgresql postgresqlpostgresql8.4.10
postgresql postgresqlpostgresql9.0
postgresql postgresqlpostgresql9.0.1
postgresql postgresqlpostgresql9.0.2
postgresql postgresqlpostgresql9.0.3
postgresql postgresqlpostgresql9.0.4
postgresql postgresqlpostgresql9.0.5
postgresql postgresqlpostgresql9.0.6
postgresql postgresqlpostgresql9.1
postgresql postgresqlpostgresql9.1.1
postgresql postgresqlpostgresql9.1.2

References

CWEs

CWE-264

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.