CVE-2026-61781
Last modified
CVE-2026-61781 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgpartman | pg_partman | < 5.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-61781?
How severe is CVE-2026-61781?
How do I fix CVE-2026-61781?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61775NVIDIA Megatron Bridge contains a vulnerability where an att…7.8
- CVE-2026-61776NVIDIA Megatron Bridge contains a vulnerability where an att…7.8
- CVE-2026-61777NVIDIA Megatron Bridge contains a vulnerability where an att…7.8
- CVE-2026-61778NVIDIA Megatron Bridge contains a vulnerability where an att…7.8
- CVE-2026-61779NVIDIA Megatron Bridge contains a vulnerability where an att…7.8
- CVE-2026-6178The Betheme theme for WordPress is vulnerable to Stored Cros…6.4
- CVE-2026-61783Wazuh is an open-source security platform providing unified …6.5
- CVE-2026-6179Stored Cross Site Scripting in NightWolf Penetration Testing…5.4
- CVE-2026-61790Weblate is a web-based continuous localization platform used…4.4
- CVE-2026-61792Weblate is a web-based continuous localization platform used…7.7
- CVE-2026-61793Nuxt OG Image generates OG Images with Vue templates in Nuxt…6.9
- CVE-2026-61794Capsule is a multi-tenancy and policy-based framework for Ku…6.8
Are you affected by CVE-2026-61781?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
