{
  "id": "cve-2026-6638",
  "title": "PostgreSQL logical replication refresh allowed SQL injection through a table name",
  "product": "PostgreSQL",
  "ai_system": "AISLE autonomous analyzer (specific model/version not disclosed)",
  "organization": "AISLE",
  "summary": "During ALTER SUBSCRIPTION ... REFRESH PUBLICATION, a crafted table name could inject SQL executed with the publication-side credentials.",
  "ai_role": "This finding was one of the eight CVEs AISLE says its autonomous analyzer detected across MySQL, MariaDB, and PostgreSQL. The report states that the findings were discovered by Pavel Kohout using AISLE; the specific model/version and division of human/model work are not disclosed.",
  "disclosure_date": "2026-05-14",
  "ai_attribution_date": "2026-07-07",
  "classification": "disclosure",
  "classification_note": "The individual public CVE disclosure date and the July 7, 2026 public campaign attribution are recorded separately. Fix evidence is linked; no in-the-wild exploitation claim is made. The described attack requires a subscriber table creator and takes effect on a later REFRESH PUBLICATION; no exploitation claim is made.",
  "cves": [
    "CVE-2026-6638"
  ],
  "source_url": "https://aisle.com/cve-discoveries/cve-2026-6638",
  "ai_source_url": "https://aisle.com/blog/aisle-finds-8-vulnerabilities-across-mysql-mariadb-and-postgresql",
  "remediation": "fix documented",
  "remediation_note": "The PostgreSQL security page and release announcement document the SQL injection and fixed versions; the CVE record credits Pavel Kohout of AISLE. AISLE’s July 7 report itemizes it as one of eight findings detected with its autonomous analyzer.",
  "advisory_url": "https://www.postgresql.org/support/security/CVE-2026-6638/",
  "checked_date": "2026-11-15",
  "cvss": [
    {
      "cve": "CVE-2026-6638",
      "version": "3.1",
      "score": 3.7,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/6xxx/CVE-2026-6638.json",
      "source_name": "PostgreSQL (CNA; CVE Program record)",
      "checked_date": "2026-11-16"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-6638"
      ],
      "consequences": [
        "other"
      ],
      "conditions": "A subscriber table creator can cause arbitrary SQL to execute with the subscription's publication-side credentials at the next REFRESH PUBLICATION. The advisory does not specify particular data read or changed, so those outcomes are not asserted.",
      "exploitation": "Exploitation in the wild is not established by the cited advisory.",
      "source_url": "https://www.postgresql.org/support/security/CVE-2026-6638/",
      "checked_date": "2026-11-16"
    }
  ]
}
