{"cve":"CVE-2020-25696","nvd":{"published":"2020-11-23T22:15:12.257","modified":"2026-06-17T03:07:08.810","status":"Modified","description":"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 and integrity as well as system availability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-183","CWE-697"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1894430","https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html","https://security.gentoo.org/glsa/202012-07","https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/","https://bugzilla.redhat.com/show_bug.cgi?id=1894430"],"products":["debian:debian_linux","postgresql:postgresql"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-25696","score":0.02698,"percentile":0.85925,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}