s2
--:--:--UTC

Searching APEX

Starting…

  1. Searching Threats, IOCs & Threat Intelligence locally
  2. Querying external providers
  3. Asking AI Forensic Validator
  4. Creating new entry from validated hit

0s elapsed

CVE-2026-6638

📛 CVE Title

PostgreSQL REFRESH PUBLICATION allows SQL injection via table name

Description

SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.

Overview

State
PUBLISHED
Assigner (CNA)
PostgreSQL
CVSS severity
LOW
CVSS score
CVSS 3.7 / 10 3.7 3.7 / 10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Effective score
3.7 / 10 LOW source: CNA overview
MSRC score
3.7 / 10 LOW MS rating: Low
CWE(s)
CWE-89
Reserved
2026-04-19
Published
2026-05-14 15:00 UTC
Last updated
2026-05-14 17:28 UTC
Source
https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/6xxx/CVE-2026-6638.json
Linked Threat
CVE-2026-6638 — CVE-2026-6638

NVD triage scoring NVD CVE 2.0

Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.

NVD published
2026-05-14 14:16:25 UTC
NVD last modified
2026-05-18 14:14:33 UTC
NVD CVSS v3.1
CVSS 3.7 / 10 3.7 3.7 / 10 LOW source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Exploitability subscore
1.2 / 10
Impact subscore
2.5 / 10
EPSS score
0.0002 (probability of exploitation in next 30 days)
EPSS percentile
7.21% vs all CVEs — higher = more likely to be exploited, as of 2026-05-24

NVD / KEV / EPSS data refreshed 2026-05-25 07:04 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.

European Union Vulnerability Database ENISA EUVD

ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.

EUVD ID
EUVD-2026-30290
Assigner
PostgreSQL
Published
May 14, 2026, 1:00:15 PM
Updated
May 14, 2026, 3:28:30 PM
EUVD base score (CVSS 3.1)
3.7 / 10
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
EUVD-reported EPSS
0.0200
Vendors
n/a
Products
PostgreSQL (18 <18.4)
PostgreSQL (16 <16.14)
PostgreSQL (17 <17.10)
Aliases
GHSA-3835-x2rj-c3qj

ENISA description: SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.

EUVD references (1)

Microsoft Security Response Center MSRC

Microsoft's vendor-authoritative record from the Security Update Guide — its own CVSS score, impact, severity rating, exploit assessment, and KB-article fixes. Refreshed 2026-07-28 03:00 UTC (source: CVRF).

MS severity
Low
MS CVSS base score
3.7 / 10 (temporal 3.7)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Release
2026-May
Microsoft remediations / KB articles (2)

Affected products (1)

VendorProductVersionsPlatforms
n/a PostgreSQL 18 (affected), 17 (affected), 16 (affected)

Affected products — CPE 2.3 (1) NVD

NVD's normalized CPE 2.3 matchers, used by vendor tools (vulnerability scanners, asset managers) for automated detection. Compare with the CNA's free-text "Affected products" section above.

  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

Vendor references (1)

References embedded in the original CVE record by the assigning CNA.

MITRE references (1) cveawg.mitre.org

Pulled from MITRE's CVE Services API by the 🛰 Backfill from MITRE button.

Web references (9)

DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.

NVD-tagged references (1)

Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.

Remediations (13)

Remediations are stored against the linked Threat row; the list below is deduplicated across both pages.

  • web:app.opencve.io

    Remediation No vendor fix or workaround currently provided. OpenCVE Recommended Actions Upgrade PostgreSQL to a patched release (≥ 18.4, ≥ 17.10, or ≥ 16.14) to eliminate the vulnerability. Revoke CREATE privileges on subscription tables from untrusted or non‑admin users to prevent injection attempts.

    2026-05-23 20:53 UTC
  • web:github.com

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting ...

    2026-05-23 20:53 UTC
  • web:guide.sonatype.com

    Technical security analysis for CVE-2026-6638 . CVSS 8.8 severity. View CVSS vectors, CWE classifications, and exploit maturity ratings.

    2026-05-23 20:53 UTC
  • web:nvd.nist.gov

    Official websites use .gov A .gov website belongs to an official government organization in the United States.

    2026-05-23 20:53 UTC
  • web:portal.msrc.microsoft.com

    The Security Update Guide provides information on the latest Microsoft security updates, helping users understand and address potential vulnerabilities effectively.

    2026-05-23 20:53 UTC
  • web:ubuntu.com

    Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.

    2026-05-23 20:53 UTC
  • web:vulert.com

    Learn about CVE-2026-6638 , a PostgreSQL vulnerability allowing SQL injection via REFRESH PUBLICATION. Discover how to fix it and stay secure.

    2026-05-23 20:53 UTC
  • web:www.postgresql.org

    CVE-2026-6638 PostgreSQL REFRESH PUBLICATION allows SQL injection via table name SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions ...

    2026-05-23 20:53 UTC
  • web:www.suse.com

    Secure your Linux systems from CVE-2026-6638 . Stay ahead of potential threats with the latest security updates from SUSE.

    2026-05-23 20:53 UTC
  • web:www.thehackerwire.com

    How severe is CVE-2026-6638 ? What Postgresql products are affected by CVE-2026-6638 ? How do I fix or mitigate CVE-2026-6638 ? When was CVE-2026-6638 disclosed?

    2026-05-23 20:53 UTC
  • web:cyberpress.org

    The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added two actively exploited Microsoft Defender vulnerabilities to its Known Exploited Vulnerabilities (KEV) catalog, issuing an urgent remediation directive for federal agencies with a due date of June 3, 2026 .

    2026-05-26 02:55 UTC
  • web:learn.microsoft.com

    Learning path Learn how Microsoft supports secure software development as part of a cybersecurity solution - Training Secure software development means integrating security into each phase of your development lifecycle, from requirements analysis to maintenance. Microsoft provides many services that can help you develop more secure code and deploy a more secure application in the cloud. This ...

    2026-05-26 02:55 UTC
  • web:www.oracle.com

    This Critical Patch Update contains 481 new security patches across the product families listed below. Please note that an MOS note summarizing the content of this Critical Patch Update and other Oracle Software Security Assurance activities is located at April 2026 Critical Patch Update: Executive Summary and Analysis.

    2026-05-26 02:55 UTC

AI Forensic Analysis

Only Available for Registered Users. Sign in to view.

Raw JSON

The full cvelistV5 record. Download as CVE-2026-6638.json.

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-6638",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-05-14T15:28:21.916462Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-14T15:28:30.735Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "PostgreSQL",
          "vendor": "n/a",
          "versions": [
            {
              "lessThan": "18.4",
              "status": "affected",
              "version": "18",
              "versionType": "rpm"
            },
            {
              "lessThan": "17.10",
              "status": "affected",
              "version": "17",
              "versionType": "rpm"
            },
            {
              "lessThan": "16.14",
              "status": "affected",
              "version": "16",
              "versionType": "rpm"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "value": "attacker has permission to create non-temporary subscriber objects with names appearing in the publication"
        },
        {
          "lang": "en",
          "value": "victim has set origin=none on the subscription"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "The PostgreSQL project thanks Pavel Kohout, Aisle Research for reporting this problem."
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials.  The attack takes effect at the next REFRESH PUBLICATION.  Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected.  Versions before PostgreSQL 16 are unaffected."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 3.7,
            "baseSeverity": "LOW",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-14T13:00:15.848Z",
        "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "shortName": "PostgreSQL"
      },
      "references": [
        {
          "url": "https://www.postgresql.org/support/security/CVE-2026-6638/"
        }
      ],
      "title": "PostgreSQL REFRESH PUBLICATION allows SQL injection via table name"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
    "assignerShortName": "PostgreSQL",
    "cveId": "CVE-2026-6638",
    "datePublished": "2026-05-14T13:00:15.848Z",
    "dateReserved": "2026-04-19T19:58:21.650Z",
    "dateUpdated": "2026-05-14T15:28:30.735Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}