JLSEC-2026-1592: High severity julia/libpq_jll vulnerability

Published Dec 1, 2026
·
Updated

Untrusted data inclusion in pgdump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql \restrict meta-command input expansion. The fix for CVE-2025-8714 introduced \restrict and \unrestrict to block this attack, but \unrestrict itself was sufficient for an attack. pgdumpall is also affected. pgrestore is affected when used to generate a plain-format dump. Non-core use of \restrict would be affected, but we've not identified non-core use. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Affected Software

1 affected component
julia/libpq_jll>=16.13.0+0<=16.14.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.6
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.11
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.15
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.19
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.24

Event History

Dec 1, 2026
Advisory Published
via OSV·02:32 PM
Data Sourced
via OSV·02:32 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs malicious superuser-level control of the origin PostgreSQL server. Exploitation occurs when a dump from that server is restored with psql, causing code to run as the client operating system account performing the restore.

2

Which dump and restore workflows are affected?

pg_dump and pg_dumpall are affected. pg_restore is affected when it is used to generate a plain-format dump; non-core uses of the \restrict meta-command may also be affected, although no such uses have been identified.

3

Are all PostgreSQL versions affected?

Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected. The prior mitigation introduced for CVE-2025-8714 is not sufficient because \unrestrict can itself be used in the attack.

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