CVE-2026-61817: pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID
Affects pg-partmanSource GCVE Database
Not known to be exploited · CVSS 8.5 High · fixed in 5.5.0 : patch pg-partman soon.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.5.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance(), show_partitions(), show_partition_info(), undo_partition(), and partition_data_time() interpolate the writable part_config.time_dncoder text value without identifier quoting into dynamic SQL. A role with the documented partman_user privileges can store SQL rather than a decoder function name. When an affected operation later uses the poisoned value, including pg_partman_bgw maintenance for a text- or UUID-keyed set, the SQL executes with the operation's privileges, which can be the default PostgreSQL superuser background-worker role. The persistent row can restore elevated access on later 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.
References
- ubuntu.com/security/CVE-2026-61817 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-61817 (opens in a new tab)
- github.com/pgpartman/pg_partman/security/advisories/GHSA-gmw2-52wc-258g (opens in a new tab)
- github.com/pgpartman/pg_partman/commit/ba9405542acf24dd881845b935cab8b165854361 (opens in a new tab)
- github.com/pgpartman/pg_partman/releases/tag/v5.5.0 (opens in a new tab)