---
title: "CVE-2026-61818: pg_partman - Command Injection"
description: "pg_partman < 5.5.0 contains a command injection caused by unquoted interpolation of part_config.time_encoder in undo_partition(), letting roles with partman_user access execute arbitrary SQL with caller privileges, exploit requires partman_user role."
url: https://panop.io/threat-heartbeat/CVE-2026-61818/
---

# CVE-2026-61818 pg\_partman - Command Injection

pg\_partman < 5.5.0 contains a command injection caused by unquoted interpolation of part\_config.time\_encoder in undo\_partition(), letting roles with partman\_user access execute arbitrary SQL with caller privileges, exploit requires partman\_user role.

CVSS base score 8.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.51% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-61818)

## Details

Type

Command Injection

Impact

Data Tampering, Information Disclosure, Denial Of Service

CVSS vector

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

Published

18 September 2026

Updated

15 October 2026

Weakness

[CWE-89](https://cwe.mitre.org/data/definitions/89.html)

## Vendor fix

Upgrade to version 5.5.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-61818](https://nvd.nist.gov/vuln/detail/CVE-2026-61818)
- [https://github.com/pgpartman/pg\_partman/commit/ba9405542acf24dd881845b935cab8b165854361](https://github.com/pgpartman/pg_partman/commit/ba9405542acf24dd881845b935cab8b165854361)
- [https://github.com/pgpartman/pg\_partman/releases/tag/v5.5.0](https://github.com/pgpartman/pg_partman/releases/tag/v5.5.0)
- [https://github.com/pgpartman/pg\_partman/security/advisories/GHSA-fm3m-9fh7-mqfc](https://github.com/pgpartman/pg_partman/security/advisories/GHSA-fm3m-9fh7-mqfc)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
