{"matches":[{"vulnerability":{"id":"CVE-2026-61781","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61781","namespace":"debian:distro:debian:12","severity":"Critical","urls":[],"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.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":9.9,"exploitabilityScore":3.2,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61781","epss":0.00804,"percentile":0.57451,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61781","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"},{"cve":"CVE-2026-61781","cwe":"CWE-269","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.7597800000000001},"relatedVulnerabilities":[{"id":"CVE-2026-61781","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61781","namespace":"nvd:cpe","severity":"Critical","urls":["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/security/advisories/GHSA-742w-3j7c-qwvp"],"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.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":9.9,"exploitabilityScore":3.2,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61781","epss":0.00804,"percentile":0.57451,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61781","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"},{"cve":"CVE-2026-61781","cwe":"CWE-269","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61781","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}},{"vulnerability":{"id":"CVE-2026-61820","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61820","namespace":"debian:distro:debian:12","severity":"High","urls":[],"description":"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.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61820","epss":0.00892,"percentile":0.60111,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61820","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.7136000000000001},"relatedVulnerabilities":[{"id":"CVE-2026-61820","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61820","namespace":"nvd:cpe","severity":"High","urls":["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/security/advisories/GHSA-xqxh-6hh3-974m"],"description":"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.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61820","epss":0.00892,"percentile":0.60111,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61820","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61820","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}},{"vulnerability":{"id":"CVE-2026-61817","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61817","namespace":"debian:distro:debian:12","severity":"High","urls":[],"description":"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.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61817","epss":0.00729,"percentile":0.54934,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61817","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.5832},"relatedVulnerabilities":[{"id":"CVE-2026-61817","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61817","namespace":"nvd:cpe","severity":"High","urls":["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/security/advisories/GHSA-gmw2-52wc-258g"],"description":"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.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61817","epss":0.00729,"percentile":0.54934,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61817","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61817","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}},{"vulnerability":{"id":"CVE-2026-61819","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61819","namespace":"debian:distro:debian:12","severity":"High","urls":[],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, when pg_jobmon is installed and part_config.jobmon is true, exception handlers in multiple pg_partman functions place p_parent_table verbatim inside a SQL string literal used to call pg_jobmon.add_job(). A partman_user can create a parent-table name containing a single quote that terminates the literal and injects SQL when an affected exception path runs. If pg_partman_bgw reaches that path, the injected SQL 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 persistent part_config row can trigger the escalation again on later maintenance ticks. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61819","epss":0.00729,"percentile":0.54933,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61819","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.5832},"relatedVulnerabilities":[{"id":"CVE-2026-61819","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61819","namespace":"nvd:cpe","severity":"High","urls":["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/security/advisories/GHSA-gv5h-j2cm-rhc3"],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, when pg_jobmon is installed and part_config.jobmon is true, exception handlers in multiple pg_partman functions place p_parent_table verbatim inside a SQL string literal used to call pg_jobmon.add_job(). A partman_user can create a parent-table name containing a single quote that terminates the literal and injects SQL when an affected exception path runs. If pg_partman_bgw reaches that path, the injected SQL 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 persistent part_config row can trigger the escalation again on later maintenance ticks. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61819","epss":0.00729,"percentile":0.54933,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61819","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61819","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}},{"vulnerability":{"id":"CVE-2026-61818","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61818","namespace":"debian:distro:debian:12","severity":"High","urls":[],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, undo_partition() reads part_config.time_encoder as unrestricted text and interpolates it without identifier quoting into a dynamically executed SELECT statement. A role with partman_user access can store SQL rather than a function name, and the SQL executes with the privileges of the caller that invokes undo_partition(). The function is not part of the default background-worker path, which limits the automatic superuser escalation described by the related create-partition vulnerability, but a privileged caller can still have its available confidentiality, integrity, and availability permissions abused. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61818","epss":0.00513,"percentile":0.44413,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61818","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.4104},"relatedVulnerabilities":[{"id":"CVE-2026-61818","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61818","namespace":"nvd:cpe","severity":"High","urls":["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/security/advisories/GHSA-fm3m-9fh7-mqfc"],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, undo_partition() reads part_config.time_encoder as unrestricted text and interpolates it without identifier quoting into a dynamically executed SELECT statement. A role with partman_user access can store SQL rather than a function name, and the SQL executes with the privileges of the caller that invokes undo_partition(). The function is not part of the default background-worker path, which limits the automatic superuser escalation described by the related create-partition vulnerability, but a privileged caller can still have its available confidentiality, integrity, and availability permissions abused. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","metrics":{"baseScore":8.5,"exploitabilityScore":1.8,"impactScore":6.1},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61818","epss":0.00513,"percentile":0.44413,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61818","cwe":"CWE-89","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61818","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}},{"vulnerability":{"id":"CVE-2026-61822","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61822","namespace":"debian:distro:debian:12","severity":"Medium","urls":[],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance() handles exceptions outside the loop that processes rows from part_config, so an exception for one partition set immediately terminates the loop and skips every later set. A role with partman_user access can insert or update a row that reliably fails and assign it a low maintenance_order value so it is processed before legitimate rows. Repeated maintenance ticks then abort before legitimate partition sets are maintained, causing database-wide loss of automated partition maintenance. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":6.5,"exploitabilityScore":2.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61822","epss":0.0053,"percentile":0.45552,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61822","cwe":"CWE-703","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.30474999999999997},"relatedVulnerabilities":[{"id":"CVE-2026-61822","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61822","namespace":"nvd:cpe","severity":"Medium","urls":["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/security/advisories/GHSA-9m6c-hw23-c6h2"],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance() handles exceptions outside the loop that processes rows from part_config, so an exception for one partition set immediately terminates the loop and skips every later set. A role with partman_user access can insert or update a row that reliably fails and assign it a low maintenance_order value so it is processed before legitimate rows. Repeated maintenance ticks then abort before legitimate partition sets are maintained, causing database-wide loss of automated partition maintenance. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","metrics":{"baseScore":6.5,"exploitabilityScore":2.9,"impactScore":3.6},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61822","epss":0.0053,"percentile":0.45552,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61822","cwe":"CWE-703","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61822","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}},{"vulnerability":{"id":"CVE-2026-61821","dataSource":"https://security-tracker.debian.org/tracker/CVE-2026-61821","namespace":"debian:distro:debian:12","severity":"High","urls":[],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, drop_partition_id() and drop_partition_time() use part_config.retention_schema as the target for ALTER TABLE SET SCHEMA and accept any nonempty schema name. A role with partman_user access can select a target schema where the role lacks the normal CREATE privilege, and the background worker performs the relocation with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, bypassing the authorization check that a normal ALTER TABLE SET SCHEMA operation would enforce. This permits unauthorized relocation of retained child tables between schemas. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","metrics":{"baseScore":8.5,"exploitabilityScore":3.2,"impactScore":4.8},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61821","epss":0.00379,"percentile":0.32471,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61821","cwe":"CWE-862","source":"security-advisories@github.com","type":"Secondary"}],"fix":{"versions":[],"state":"wont-fix"},"advisories":[],"risk":0.3032},"relatedVulnerabilities":[{"id":"CVE-2026-61821","dataSource":"https://nvd.nist.gov/vuln/detail/CVE-2026-61821","namespace":"nvd:cpe","severity":"High","urls":["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/security/advisories/GHSA-pxp2-x8cf-rfhc"],"description":"pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, drop_partition_id() and drop_partition_time() use part_config.retention_schema as the target for ALTER TABLE SET SCHEMA and accept any nonempty schema name. A role with partman_user access can select a target schema where the role lacks the normal CREATE privilege, and the background worker performs the relocation with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, bypassing the authorization check that a normal ALTER TABLE SET SCHEMA operation would enforce. This permits unauthorized relocation of retained child tables between schemas. This issue is fixed in version 5.5.0.","cvss":[{"source":"security-advisories@github.com","type":"Secondary","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","metrics":{"baseScore":8.5,"exploitabilityScore":3.2,"impactScore":4.8},"vendorMetadata":{}}],"epss":[{"cve":"CVE-2026-61821","epss":0.00379,"percentile":0.32471,"date":"2026-11-18"}],"cwes":[{"cve":"CVE-2026-61821","cwe":"CWE-862","source":"security-advisories@github.com","type":"Secondary"}]}],"matchDetails":[{"type":"exact-indirect-match","matcher":"dpkg-matcher","searchedBy":{"distro":{"type":"debian","version":"12.15"},"package":{"name":"pg-partman","version":"5.5.0-1.pgdg12+2"},"namespace":"debian:distro:debian:12"},"found":{"vulnerabilityID":"CVE-2026-61821","versionConstraint":"none (unknown)"}}],"artifact":{"id":"Package-deb-postgresql-18-partman-ca90f7ff4f598587","name":"postgresql-18-partman","version":"5.5.0-1.pgdg12+2","type":"deb","locations":null,"language":"","licenses":["PostgreSQL"],"cpes":["cpe:2.3:a:postgresql-18-partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18-partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18_partman:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql-18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql_18:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql-18-partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*","cpe:2.3:a:postgresql:postgresql_18_partman:5.5.0-1.pgdg12\\+2:*:*:*:*:*:*:*"],"purl":"pkg:deb/debian/postgresql-18-partman@5.5.0-1.pgdg12%2B2?arch=amd64&distro=debian-12.15&upstream=pg-partman","upstreams":[{"name":"pg-partman"}]}}],"source":{"type":"sbom-file","target":"/home/runner/work/cnpg-extensions.github.io/cnpg-extensions.github.io/static/reports/pg-partman/bookworm-pg18-amd64.spdx.json"},"distro":{"name":"debian","version":"12.15","idLike":["debian"]},"descriptor":{"name":"grype","version":"0.122.1","configuration":{"output":["json"],"file":"","pretty":false,"distro":"","add-cpes-if-none":false,"output-template-file":"","check-for-app-update":true,"only-fixed":false,"only-notfixed":false,"ignore-wontfix":"","platform":"","search":{"scope":"squashed","unindexed-archives":false,"indexed-archives":true},"ignore":[{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"kernel-headers","version":"","language":"","type":"rpm","location":"","upstream-name":"kernel"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"},{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"linux(-.*)?-headers-.*","version":"","language":"","type":"deb","location":"","upstream-name":"linux.*"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"},{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"linux-libc-dev","version":"","language":"","type":"deb","location":"","upstream-name":"linux"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"},{"vulnerability":"","include-aliases":false,"reason":"","namespace":"","fix-state":"","package":{"name":"linux-kbuild-.*","version":"","language":"","type":"deb","location":"","upstream-name":"linux.*"},"vex-status":"","vex-justification":"","match-type":"exact-indirect-match"}],"exclude":[],"externalSources":{"enable":false,"maven":{"searchUpstreamBySha1":true,"baseUrl":"https://search.maven.org/solrsearch/select","rateLimit":300000000}},"match":{"java":{"using-cpes":false},"jvm":{"using-cpes":true},"dotnet":{"using-cpes":false},"golang":{"using-cpes":false,"always-use-cpe-for-stdlib":false,"allow-main-module-pseudo-version-comparison":false},"javascript":{"using-cpes":false},"python":{"using-cpes":false},"ruby":{"using-cpes":false},"rust":{"using-cpes":false},"hex":{"using-cpes":false},"stock":{"using-cpes":true},"dpkg":{"using-cpes":false,"missing-epoch-strategy":"zero","use-cpes-for-eol":false},"rpm":{"using-cpes":false,"missing-epoch-strategy":"auto","use-cpes-for-eol":false}},"fail-on-severity":"","registry":{"insecure-skip-tls-verify":false,"insecure-use-http":false,"ca-cert":""},"show-suppressed":false,"include-matcher-suppressions":false,"by-cve":false,"SortBy":{"sort-by":"risk"},"name":"","default-image-pull-source":"","from":null,"vex-documents":[],"vex-add":[],"match-upstream-kernel-headers":false,"fix-channel":{"redhat-eus":{"apply":"auto","versions":">= 8.0"},"ubuntu-esm":{"apply":"auto","versions":""}},"timestamp":true,"alerts":{"enable-eol-distro-warnings":true},"db":{"cache-dir":"/home/runner/.cache/grype/db","update-url":"https://grype.anchore.io/databases","ca-cert":"","auto-update":false,"validate-by-hash-on-start":true,"validate-age":true,"max-allowed-built-age":432000000000000,"require-update-check":false,"update-available-timeout":30000000000,"update-download-timeout":300000000000,"max-update-check-frequency":7200000000000},"exp":{},"dev":{"db":{"debug":false}}},"db":{"status":{"schemaVersion":"v6.1.10","from":"https://grype.anchore.io/databases/v6/vulnerability-db_v6.1.10_2026-11-18T13:44:25Z_1795025984.tar.zst?checksum=sha256%3A32a87f72dcdbb77451759aa6dc49fcc203cbb074d8bee78df03ff3295d643bbe","built":"2026-11-18T18:19:44Z","path":"/home/runner/.cache/grype/db/6/vulnerability.db","valid":true},"providers":{"alma":{"captured":"2026-11-18T13:44:39Z","input":"xxh64:b53485658962501b"},"alpine":{"captured":"2026-11-18T13:44:32Z","input":"xxh64:babe90f6a8ab93bc"},"amazon":{"captured":"2026-11-18T16:12:12Z","input":"xxh64:1f4f5215e2360782"},"arch":{"captured":"2026-11-18T13:44:35Z","input":"xxh64:10c4f420af1c1db8"},"bitnami":{"captured":"2026-11-18T13:44:45Z","input":"xxh64:b755ec50401965b3"},"chainguard":{"captured":"2026-11-18T13:44:39Z","input":"xxh64:747cfa8c394bb39f"},"chainguard-libraries":{"captured":"2026-11-18T13:44:27Z","input":"xxh64:aa7300404ab3e47a"},"debian":{"captured":"2026-11-18T13:44:45Z","input":"xxh64:c5c4ba93f4db8e31"},"dhi":{"captured":"2026-11-18T13:44:51Z","input":"xxh64:cbc71b397e2141c0"},"echo":{"captured":"2026-11-18T13:44:33Z","input":"xxh64:f79017c8f57397a3"},"eol":{"captured":"2026-11-18T13:44:48Z","input":"xxh64:9613814a73238359"},"epss":{"captured":"2026-11-18T13:44:25Z","input":"xxh64:4815df72e1521107"},"fedora":{"captured":"2026-11-18T16:11:36Z","input":"xxh64:a9d7c094d201e0ca"},"github":{"captured":"2026-11-18T16:12:57Z","input":"xxh64:19bdeeeae2cbdeb8"},"govulndb":{"captured":"2026-11-18T13:44:37Z","input":"xxh64:f3657f4f6b63df0a"},"hummingbird":{"captured":"2026-11-18T13:46:22Z","input":"xxh64:a0e26b96324ff59a"},"kev":{"captured":"2026-11-18T13:44:40Z","input":"xxh64:136deb868f0624c3"},"mariner":{"captured":"2026-11-18T13:44:45Z","input":"xxh64:5aab47e088c92303"},"minimos":{"captured":"2026-11-18T13:44:34Z","input":"xxh64:2ffad6b4ffdd66c1"},"nvd":{"captured":"2026-11-18T16:13:24Z","input":"xxh64:4ea7028e248e9044"},"oracle":{"captured":"2026-11-18T13:44:40Z","input":"xxh64:626b8fd46329f62e"},"photon":{"captured":"2026-11-18T13:44:35Z","input":"xxh64:bf232ef119f0b877"},"rhel":{"captured":"2026-11-18T15:39:47Z","input":"xxh64:e929f27ea98a94ee"},"secureos":{"captured":"2026-11-18T13:44:30Z","input":"xxh64:71ee5144854d7659"},"sles":{"captured":"2026-11-18T13:52:03Z","input":"xxh64:7337639a3429a79e"},"ubuntu":{"captured":"2026-11-18T13:45:09Z","input":"xxh64:3e6477b5aa683a1a"},"wolfi":{"captured":"2026-11-18T13:44:27Z","input":"xxh64:6ace2d9ec6597dea"}}},"timestamp":"2026-11-19T03:17:32.506147753Z"}}
