PostgreSQL Extension Allows Privilege Escalation in pg_partman
CVE-2026-61818

8.5HIGH

Key Information:

Vendor

Pgpartman

Vendor
CVE Published:
18 September 2026

What is CVE-2026-61818?

A vulnerability exists in pg_partman, a PostgreSQL extension designed to manage partitioned tables. Specifically, prior to version 5.5.0, the undo_partition() function inappropriately handles part_config.time_encoder by reading it as unrestricted text. This leads to SQL injection issues where a user with partman_user access can execute arbitrary SQL commands. The SQL is executed with the caller's privileges, risking the confidentiality, integrity, and availability across the database. While this vulnerability is limited in automatic escalation in the default background-worker path, it poses significant risks to privileged users. The issue has been addressed in version 5.5.0, and users are encouraged to upgrade to secure their databases.

Affected Version(s)

pg_partman < 5.5.0

References

CVSS V3.1

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.