CVE-2026-61781Critical· 9.9▾ Midnightpg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, create_partition_time() reads the writable part_config.time_encoder text value and interpolates it without identifier quoting into a dyna…
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 54.5 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Stakeholder-Specific Vulnerability Categorization from CISA's ADP record at CVE.org: whether exploitation is observed, whether an attack can be automated, and how much of the system is at stake.
Exploit-prediction probability, daily snapshots since Sep 19.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
0.6%
Last analysed / modified upstream
pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, create_partition_time() reads the writable part_config.time_encoder text value and interpolates it without identifier quoting into a dynamically executed SELECT statement. A role with the documented partman_user INSERT and UPDATE privileges can store SQL rather than a function name. When pg_partman_bgw later creates a child partition for a text- or UUID-keyed set, the worker executes the stored SQL with pg_partman_bgw.role privileges, which default to PostgreSQL superuser. The persistent configuration row can repeatedly restore elevated access on later maintenance ticks, and successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account. This issue is fixed in version 5.5.0.
Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-61819High· 8.5pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID
CVE-2026-61820High· 8.5pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID
CVE-2026-61817High· 8.5pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID
CVE-2026-61818High· 8.5pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID
CVE-2026-61822Medium· 6.5pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID
CVE-2026-61821High· 8.5pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID