CVE-2019-10127: PostgreSQL

High severity, CVSS 8.8. EPSS: 0.3% chance of exploitation in the next 30 days.

A vulnerability was found in postgresql versions 11.x prior to 11.3. The Windows installer for BigSQL-supplied PostgreSQL does not lock down the ACL of the binary installation directory or the ACL of the data directory; it keeps the inherited ACL. In the default configuration, an attacker having both an unprivileged Windows account and an unprivileged PostgreSQL account can cause the PostgreSQL service account to execute arbitrary code. An attacker having only the unprivileged Windows account can read arbitrary data directory files, essentially bypassing database-imposed read access limitations. An attacker having only the unprivileged Windows account can also delete certain data directory files.

Affected products

  • PostgreSQL PostgreSQL: before 9.4.22 (fixed in 9.4.22); from 9.5.0, before 9.5.17 (fixed in 9.5.17); from 9.6.0, before 9.6.13 (fixed in 9.6.13); from 10.0, before 10.8 (fixed in 10.8); from 11.0, before 11.3 (fixed in 11.3)

Published 2021-03-19. Last modified 2026-06-17.