All vulnerabilities

Servers and applications

CVE-2017-15099

INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges. Exploits bypass row level security policies and lack of SELECT privilege.

Severity
Medium 6.5
Published
22 Nov 2017
Last changed
17 Jun 2026
Added to UpHeron
16 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • Version 10.0
  • Version 9.6.5
  • Version 9.6.4
  • Version 9.6.3
All 17 release lines
  • Version 9.5
  • Version 9.5.1
  • Version 9.5.2
  • Version 9.5.3
  • Version 9.5.4
  • Version 9.5.5
  • Version 9.5.6
  • Version 9.5.7
  • Version 9.5.8
  • Version 9.5.9
  • Version 9.6
  • Version 9.6.1
  • Version 9.6.2
  • Version 9.6.3
  • Version 9.6.4
  • Version 9.6.5
  • Version 10.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-15099
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-15099