← Vulnerability feed

Vulnerability record · CVE-2017-7546 · published 16 August 2017

CVE-2017-7546: PostgreSQL improper authentication allows empty-password login

Postgresql · Postgresql

PostgreSQL before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 contains an incorrect authentication flaw that lets remote attackers authenticate to database accounts that have an empty password. Because the affected versions are widely deployed and the flaw bypasses normal credential checks, it exposes database contents and operations to unauthenticated network attackers.

9.8 CVSS 3.0 Critical EPSS 62% · top 0.9% CWE-287 · Improper authentication
9.8CVSS 3.0 base score, v2 7.5
62%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
20References
17 Jun 2026Last modified by NVD

Description

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers to gain access to database accounts with an empty password.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS 3.0 is 9.8 critical with network reachability and no privileges required, and EPSS is above the 99th percentile, so exposure is severe despite no KEV listing.

What it is

PostgreSQL before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 contains an incorrect authentication flaw that lets remote attackers authenticate to database accounts that have an empty password. Because the affected versions are widely deployed and the flaw bypasses normal credential checks, it exposes database contents and operations to unauthenticated network attackers.

Impact

An attacker gains access to database accounts with empty passwords, yielding read and write access to data and the ability to run SQL as that account. CVSS 3.0 rates it 9.8 critical with high confidentiality, integrity and availability impact.

Attack surface

Reachable over the network via the PostgreSQL protocol (AV:N, PR:N, UI:N); no authentication or user interaction is required, though the target account must have an empty password.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented, but EPSS is 0.61566 (99.1st percentile), indicating high predicted exploitation activity; references are vendor and third-party advisories only, with no public exploit tag.

What to do

  • Upgrade PostgreSQL to 9.2.22, 9.3.18, 9.4.13, 9.5.8, 9.6.4 or later, or apply the relevant Debian, Red Hat or Gentoo errata.
  • Immediately set non-empty passwords for every database role and audit for accounts with empty or NULL passwords.
  • Restrict network access to PostgreSQL ports with firewall rules and bind listeners to trusted interfaces only.
  • Enforce password authentication in pg_hba.conf and remove trust or ident rules that permit passwordless access.
  • Monitor vendor advisories for the affected distribution packages and re-check after patching.

Detection

  • Query pg_authid or pg_shadow for roles with empty or NULL password hashes.
  • Review PostgreSQL connection and authentication logs for successful logins to accounts that should require a password.
  • Alert on authentication events from unexpected source IPs or at unusual times against database accounts.
  • Inventory PostgreSQL versions across hosts to find instances below the fixed releases.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-7546 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2017-7546), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.