Echo: pg-partman: security update to 5.5.0-1

critical Tenable Self-Hosted Container Security Plugin ID 463112

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-61781)

Solution

Update the pg-partman library and its related packages to version 5.5.0-1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-61781

Plugin Details

Severity: Critical

ID: 463112

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.3

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-61781

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/19/2026

Vulnerability Publication Date: 9/18/2026

Reference Information

CVE: CVE-2026-61781