pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, inherit_template_properties() manually surrounds primary-key column names from pg_attribute.attname with double quotes without escaping embedded double-quote characters. A partman_user who owns a template table can create a crafted column name that breaks out of the generated ALTER TABLE ADD PRIMARY KEY identifier when the background worker applies the key to a child partition. The generated SQL then executes with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, permitting database-wide compromise and operating-system command execution as the PostgreSQL service account. The crafted catalog identifier persists until removed and can trigger again during later partition creation. This issue is fixed in version 5.5.0.
CVE-2026-61820
This high-severity CVE scores 8.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.7%, top 48% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.5
- EG Score
- 8.5(medium)
- EG Risk
- 39(Track)EG Risk 39/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity85% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 52%
- KEV
- Not listed
Published
September 18, 2026
Last Modified
September 23, 2026
Advisory Details (2)
Auto-updated Sep 18, 2026v5.5.0
Patch available: pgpartman/pg_partman v5.5.0
https://github.com/pgpartman/pg_partman/releases/tag/v5.5.0pg_partman privilege escalation via SQL injection when inheriting template properties · Advisory · pgpartman/pg_partman · GitHub
https://github.com/pgpartman/pg_partman/security/advisories/GHSA-xqxh-6hh3-974mWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-24 18:01 UTCEG score recompute
- 2026-09-23 18:40 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 16:23 UTCEG score recompute
- 2026-09-22 15:46 UTCEG score recompute
- 2026-09-22 05:04 UTCEG score recompute
- 2026-09-21 06:02 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 19:31 UTCEG score recompute
- 2026-09-18 20:30 UTCEG score recompute
- 2026-09-18 19:54 UTCEG score recompute
- 2026-09-18 19:54 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-61820?
When was CVE-2026-61820 disclosed?
Is CVE-2026-61820 actively exploited?
What is the CVSS score of CVE-2026-61820?
How do I remediate CVE-2026-61820?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-61820
Is Your Infrastructure Affected by CVE-2026-61820?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.