CVE-2026-14661: PostgreSQL dblink and subscriptions can append to arbitrary files

Published Nov 12, 2026
·
Updated

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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 18.7

Event History

Nov 12, 2026
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

PostgreSQL 18 minor versions before 18.7 are affected. Earlier PostgreSQL major versions are also affected when the server has libpq version 18 or later installed and in use.

2

What level of access does an attacker need?

An attacker needs privileges to use dblink or to issue CREATE SUBSCRIPTION or ALTER SUBSCRIPTION statements. Exploitation does not require user interaction and can be performed remotely.

3

What is the practical impact of successful exploitation?

The attacker can cause NSS keylog-format data to be appended to a file they choose, potentially corrupting that file and causing persistent denial of service. The mechanism cannot write arbitrary byte sequences.

4

How can I determine whether an older PostgreSQL major version is exposed?

Check whether the server is using libpq version 18 or later. Earlier major versions are affected only under that condition.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203