{"cve":"CVE-2012-0866","nvd":{"published":"2012-07-18T23:55:01.747","modified":"2026-06-16T23:38:24.880","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-264"],"references":["http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705","http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html","http://rhn.redhat.com/errata/RHSA-2012-0677.html","http://rhn.redhat.com/errata/RHSA-2012-0678.html","http://secunia.com/advisories/49272"],"products":["postgresql:postgresql"],"source":"nvd","synced_at":"2026-10-19T20:24:00.973572543+00:00"},"epss":{"cve":"CVE-2012-0866","score":0.03625,"percentile":0.89525,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}