CVE-2026-6478: PostgreSQL discloses MD5-hashed passwords via covert timing channel
Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover user credentials sufficient to authenticate. This does not affect scram-sha-256 passwords, the default in all supported releases. However, current databases may have MD5-hashed passwords originating in upgrades from PostgreSQL 13 or earlier. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
Security readout for executives and security teams
Plain-English summary
PostgreSQL can leak enough information through authentication response timing to recover credentials for accounts still using MD5-hashed passwords. An unauthenticated network attacker could then sign in as the affected user. SCRAM-SHA-256 passwords are not affected.
Executive priority
Treat this as a high-priority credential exposure issue where PostgreSQL is network-reachable and legacy MD5 credentials remain. Patch promptly and eliminate MD5 credential storage. SCRAM-only environments have substantially lower urgency for this specific vulnerability but should still confirm versions and credential state.
Technical view
The MD5 password comparison contains a covert timing channel reachable during network authentication. Affected releases are earlier than PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23. CVSS 3.1 is 8.2, reflecting remote, low-complexity, unauthenticated exposure with high confidentiality impact.
Likely exposure
Exposure requires a reachable PostgreSQL authentication service and at least one account retaining an MD5-hashed password. Databases upgraded from PostgreSQL 13 or earlier deserve particular attention. Installations using only SCRAM-SHA-256 passwords are not affected by this issue.
Exploitation context
The weakness is remotely reachable without prior privileges or user interaction. Repeated timing observations may disclose credentials sufficient for authentication. The supplied evidence does not establish active exploitation, and the CVE is not identified as being in KEV.
Researcher notes
The decisive exposure condition is the stored password format, not merely the server version. Validation should correlate affected server releases, network reachability, and MD5-backed roles. The source bundle provides no evidence of exploitation in the wild or a public exploit, so exploitation claims should remain qualified.
Mitigation direction
Upgrade each supported branch to PostgreSQL 18.4, 17.10, 16.14, 15.18, or 14.23 respectively.
Replace remaining MD5-hashed account credentials with SCRAM-SHA-256 credentials.
Prioritize internet-reachable or broadly accessible database services.
Consult PostgreSQL and distribution guidance before changing authentication behavior in production.
Validation and detection
Inventory PostgreSQL versions and compare them with the fixed release for each major branch.
Identify accounts whose stored credentials remain MD5-hashed, especially after upgrades from version 13 or earlier.
Confirm all relevant accounts use SCRAM-SHA-256 after remediation.
Test application and administrative authentication after upgrading and migrating credentials.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-385: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-385 · source CWE mapping
Covert Timing Channel
Covert Timing Channel represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.