# JLSEC-2026-51: Missing authorization in PostgreSQL built-in views pgstatsext and pgstatsextexprs allows an unprivileged database user to read most common…

- Severity: Medium 4.3 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-03T13:27:15.647Z
- Modified: 2026-07-25T18:24:33.506Z
- Related: CVE-2024-4317

## Description

Missing authorization in PostgreSQL built-in views `pg_stats_ext` and `pg_stats_ext_exprs` allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.

(As written by Julia Security Advisories.)

## Affected

- LibPQ_jll (Julia): from 14.1.0+0 before 16.8.0+0

## References

- <https://security.netapp.com/advisory/ntap-20250328-0001/> (web)
- <https://www.postgresql.org/support/security/CVE-2024-4317/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-51](https://osv.dev/vulnerability/JLSEC-2026-51), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-51 · Whole record: https://cve.day/JLSEC-2026-51.json · Rebuilt by cve.day 2026-11-25T22:56:26.143Z
