CVE-2026-61818: pgpartman pg_partman · SQL Injection
Affects pgpartman pg_partmanSource CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 5.5.0 soon.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.5.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 1 Nov 2026.
What to do
Upgrade pg_partman and pgpartman/pg_partman to 5.5.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pgpartmanpg_partman | Affected
| Fixed in
|
GitHubpgpartman/pg_partmanpkg:github/pgpartman/pg_partmanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pg_partman to version 5.5.0 or later, where this SQL injection vulnerability is fixed. No other mitigation is indicated by the vendor advisory. Users should ensure that only trusted roles have access to functions like undo_partition().
Description
CVE-2026-61818 is a high-severity SQL injection vulnerability in the pg_partman PostgreSQL extension prior to version 5.5.0. The undo_partition() function improperly handles the part_config.time_encoder parameter by interpolating it as unrestricted text into a dynamic SQL statement without proper quoting. This allows a user with partman_user role access to inject arbitrary SQL code, which executes with the privileges of the caller invoking undo_partition(). Although this function is not part of the default background-worker path, limiting automatic superuser escalation, a privileged caller can still abuse their permissions for confidentiality, integrity, and availability impacts. The vulnerability is fixed in version 5.5.0.