PostgreSQL Data Exposure Due to INSERT ON CONFLICT Vulnerability

MonitorSensitive data exposure over the network by a logged-in user.
6.5MEDIUM

Key Information:

Vendor

Red Hat

CVE ID
CVE ID:
CVE-2017-15099
Vendor
CVE Published:
22 November 2017

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Postgresql. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2017-15099?

This vulnerability in PostgreSQL allows attackers to gain unauthorized access to sensitive table contents through the use of INSERT ... ON CONFLICT DO UPDATE commands. The flaw exists in PostgreSQL versions 10.x prior to 10.1, 9.6.x prior to 9.6.6, and 9.5.x prior to 9.5.10, where users lacking SELECT privileges can exploit INSERT and UPDATE capabilities to bypass row-level security policies, exposing data they are otherwise restricted from viewing. This could lead to significant confidentiality and integrity issues within affected database systems.

Affected Version(s)

postgresql 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10

References

Arbitrary Command Execution Vulnerability in Ghostscript Software

CVE-2026-101258
Red HatRed Hat Enterprise Lin...7.8HIGH

Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool

CVE-2026-96889
Red HatRed Hat Enterprise Lin...πŸ˜„πŸ‘Ύ7.8HIGH

Time-based sudo vulnerability in Sudo

CVE-2026-96512
Red HatRed Hat Enterprise Lin...7.8HIGH
View more Red Hat vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

EPSS Score

6% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.