Vulnerabilityin PostgreSQL Global Development Group PostgreSQL.
No public exploit found; not on exploited lists.
In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed; severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 4 Dec 2017CVE ID reserved by redhat.
- 9 Feb 2018Published in the CVE List.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other PostgreSQL vulnerabilities
Same weakness: Insecure temporary file
- www.postgresql.org x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.debian.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securityfocus.com vdb-entry, x_refsource_BID
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
Patchminder. CVE-2018-1053: Vulnerability in PostgreSQL Global Development Group PostgreSQL. https://patchminder.com/cve/cve-2018-1053/ (accessed 5 December 2026).