{
  "id": "CVE-2026-14661",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-14661",
  "published_at": "2026-11-12T14:15:30.14Z",
  "title": "PostgreSQL dblink and subscriptions can append to arbitrary files",
  "product": "PostgreSQL",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "External control of file name in PostgreSQL dblink and CREATE/ALTER SUBSCRIPTION allows a user to achieve persistent denial of service, via appending invalid data to a chosen file.  Specifically, the \"sslkeylogfile\" connection parameter appends data, in NSS keylog format, to a file of the user's choosing.  This \"sslkeylogfile\" mechanism cannot add arbitrary bytes.  Within major version 18, minor versions before PostgreSQL 18.7 are affected.  Versions before PostgreSQL 18 are also affected if libpq version 18 or later is installed and in use by the server.",
  "cwe": "CWE-73",
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PostgreSQL",
        "ranges": [
          "\u003e= 18, \u003c 18.7",
          "\u003e= 17, \u003c 17.12",
          "\u003e= 16, \u003c 16.16",
          "\u003e= 15, \u003c 15.20",
          "\u003c 14.25"
        ],
        "fixed_in": [
          "18.7",
          "17.12",
          "16.16",
          "15.20",
          "14.25"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL to 18.7 or 17.12 or 16.16 or 15.20 or 14.25 or later."
    ],
    "workarounds": [
      "Revoke public EXECUTE permission on dblink functions",
      "Revoke pg_create_subscription from any roles that do not already have pg_write_server_files privileges"
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
