All vulnerabilities

Servers and applications

CVE-2020-25696

A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality…

Severity
High 7.5
Published
23 Nov 2020
Last changed
17 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
9.5.24, 9.6.20, 10.15, 11.10, 12.5, 13.1
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 9.5.0 before 9.5.24
  • From 9.6.0 before 9.6.20
  • From 10.0 before 10.15
  • From 11.0 before 11.10
  • From 12.0 before 12.5
  • From 13.0 before 13.1

References

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