JLSEC-2026-1578: Medium severity julia/libpq_jll vulnerability

Published Dec 1, 2026
·
Updated

Incomplete tracking in PostgreSQL of changes to role membership, role attributes, and database ownership allows a query to continue using cached row-level security policies after those changes require a different policy, via plan reuse. Stale policies continue until some other event invalidates the cache or connection termination ends the session. This permits a user to complete reads and modifications that were recently permitted but now forbidden. An attacker must tailor an attack to a particular application's pattern of privilege removal and role-specific row security policies. 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.0.0+0<=16.14.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 18.6
  2. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 17.11
  3. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 16.15
  4. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 15.19
  5. Upgrade

    Upgrade PostgreSQL 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 is realistically exposed to this issue?

Applications using affected PostgreSQL versions are exposed when they reuse query plans in sessions that also rely on row-level security policies tied to role membership, role attributes, or database ownership. Exploitation requires a privilege or policy change to occur while a session retains a cached plan.

2

What does an attacker need to exploit it?

The attacker needs low-privileged access and must tailor activity to the application's specific pattern of privilege removal and role-specific row-level security policies. They must be able to continue using a cached plan after access that was previously allowed has been revoked.

3

How long can stale access persist?

The stale row-level security policy can remain in use until another event invalidates the cache or the affected connection terminates. During that period, reads and modifications that were recently permitted but are now forbidden may still succeed.

4

Which PostgreSQL versions need remediation?

PostgreSQL versions before 18.6, 17.11, 16.15, 15.19, and 14.24 are affected. Upgrade to the applicable listed release or later.

5

What can be done if patching is not immediately possible?

Terminate affected database connections after changes to role membership, role attributes, or database ownership, because connection termination ends the session and stops use of its cached plans. This is especially relevant where row-level security permissions are being removed.

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