CVE-2026-14661

PostgreSQL dblink and subscriptions can append to arbitrary files

  • High 8.1

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.

Key facts

Published
12 Nov 2026
Last changed
12 Nov 2026
Assigned by
PostgreSQL
EPSS
0.434% likely to be exploited in the next 30 days, higher than 38.202% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.1CVSS 3.1, Highfrom the CNA (PostgreSQL)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What to do

  • Revoke public EXECUTE permission on dblink functionsCNA workaround statement
  • Revoke pg_create_subscription from any roles that do not already have pg_write_server_files privilegesCNA workaround statement

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
n/aPostgreSQL
  • Default status: unaffected
  • 18 up to but excluding 18.7 (affected)
  • 17 up to but excluding 17.12 (affected)
  • 16 up to but excluding 16.16 (affected)
  • 15 up to but excluding 15.20 (affected)
  • 0 up to but excluding 14.25 (affected)

Timeline

  1. 12 Nov 2026 Published

Weakness

References