DEBIAN-CVE-2026-61817
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.
DEBIAN-CVE-2026-61817
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-61817
pg-partman
Source reference: /affected/0/package/name
- Affected versions
- 4.7.2-1
Source reference:
/affected/0/versions4.7.3-1Source reference:
/affected/0/versions4.7.4-2Source reference:
/affected/0/versions5.0.0-1Source reference:
/affected/0/versions5.0.0-2Source reference:
/affected/0/versions5.0.1-1Source reference:
/affected/0/versions5.1.0-1Source reference:
/affected/0/versions5.1.0-2Source reference:
/affected/0/versions5.2.0-1Source reference:
/affected/0/versions5.2.1-1Source reference:
/affected/0/versions5.2.2-1Source reference:
/affected/0/versions5.2.4-1Source reference:
/affected/0/versions5.3.0-1Source reference:
/affected/0/versions5.3.0~rc1-1Source reference:
/affected/0/versions5.3.1-1Source reference:
/affected/0/versions5.3.1-2Source reference:
/affected/0/versions5.4.0-1Source reference:
/affected/0/versions5.4.1-1Source reference:
/affected/0/versions5.4.2-1Source reference:
/affected/0/versions5.4.3-1Source reference:
/affected/0/versions5.5.0-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
pg-partman
Source reference: /affected/1/package/name
- Affected versions
- 5.2.4-1
Source reference:
/affected/1/versions5.3.0-1Source reference:
/affected/1/versions5.3.0~rc1-1Source reference:
/affected/1/versions5.3.1-1Source reference:
/affected/1/versions5.3.1-2Source reference:
/affected/1/versions5.4.0-1Source reference:
/affected/1/versions5.4.1-1Source reference:
/affected/1/versions5.4.2-1Source reference:
/affected/1/versions5.4.3-1Source reference:
/affected/1/versions5.5.0-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
pg-partman
Source reference: /affected/2/package/name
- Affected versions
- 5.2.4-1
Source reference:
/affected/2/versions5.3.0-1Source reference:
/affected/2/versions5.3.0~rc1-1Source reference:
/affected/2/versions5.3.1-1Source reference:
/affected/2/versions5.3.1-2Source reference:
/affected/2/versions5.4.0-1Source reference:
/affected/2/versions5.4.1-1Source reference:
/affected/2/versions5.4.2-1Source reference:
/affected/2/versions5.4.3-1Source reference:
/affected/2/versions - Fixed versions
- 5.5.0-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pg-partman",
"purl": "pkg:deb/debian/pg-partman?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.7.2-1",
"4.7.3-1",
"4.7.4-2",
"5.0.0-1",
"5.0.0-2",
"5.0.1-1",
"5.1.0-1",
"5.1.0-2",
"5.2.0-1",
"5.2.1-1",
"5.2.2-1",
"5.2.4-1",
"5.3.0-1",
"5.3.0~rc1-1",
"5.3.1-1",
"5.3.1-2",
"5.4.0-1",
"5.4.1-1",
"5.4.2-1",
"5.4.3-1",
"5.5.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-61817.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pg-partman",
"purl": "pkg:deb/debian/pg-partman?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.2.4-1",
"5.3.0-1",
"5.3.0~rc1-1",
"5.3.1-1",
"5.3.1-2",
"5.4.0-1",
"5.4.1-1",
"5.4.2-1",
"5.4.3-1",
"5.5.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-61817.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.5.0-1"
}
]
}
],
"package": {
"name": "pg-partman",
"purl": "pkg:deb/debian/pg-partman?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.2.4-1",
"5.3.0-1",
"5.3.0~rc1-1",
"5.3.1-1",
"5.3.1-2",
"5.4.0-1",
"5.4.1-1",
"5.4.2-1",
"5.4.3-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-61817.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #15037 · Revision 1
- Added to Heist Feed
- Publisher date