Skip to main content
VulnerabilityPublished Updated

CVE-2026-61821: pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID

Affects pg-partmanSource GCVE Database

0
Compare
Authoritative record:CVE-2026-61821· High 8.5

Not known to be exploited · CVSS 8.5 High · fixed in 5.5.0 : patch pg-partman soon.

Data as of 24 Nov 2026, 20:45 UTC

CVSS 3.1 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.5.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=resoluteOther threatsAffected
  • 5.2.4-1 – 5.4.1-1
4 affected builds
Fixed in–
Ubuntu 24.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=nobleOther threatsAffected
  • =4.7.3-1
  • =5.0.0-2
  • =5.0.1-1
Fixed in–
Ubuntu 22.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=jammyOther threatsAffected
  • =4.5.1-1
  • =4.6.0-1
Fixed in–
Ubuntu 20.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=focalOther threatsAffected
  • 4.0.0-1 – 4.3.0-1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=bionicOther threatsAffected
  • 2.6.3-1 – 3.1.2-1
4 affected builds
Fixed in–
Ubuntu 16.04 LTSpg-partmanpkg:deb/ubuntu/pg-partman?arch=source&distro=xenialOther threatsAffected
  • =2.2.2-1
  • =2.2.2-2
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, drop_partition_id() and drop_partition_time() use part_config.retention_schema as the target for ALTER TABLE SET SCHEMA and accept any nonempty schema name. A role with partman_user access can select a target schema where the role lacks the normal CREATE privilege, and the background worker performs the relocation with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, bypassing the authorization check that a normal ALTER TABLE SET SCHEMA operation would enforce. This permits unauthorized relocation of retained child tables between schemas. This issue is fixed in version 5.5.0.

References

Community reviews

Loading reviews…