Skip to main content
EPSS 0.6%top 55%

PostgreSQL discloses MD5-hashed passwords via covert timing channel (CVE-2026-6478)

0
High
Published: 05/18/2026 (05/18/2026, 05:53:06 UTC)
Source: GCVE Database
Product: postgresql

Description

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.

Affected software

Bitnamimore threats →ghsa
postgresql
pkg:bitnami/postgresql
Affected versions
<14.23.0>=15.0.0 <15.18.0>=16.0.0 <16.14.0>=17.0.0 <17.10.0>=18.0.0 <18.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 22:50:33 UTC

Technical Analysis

CVE-2026-6478 is a medium-severity vulnerability in PostgreSQL that arises from a covert timing channel in the comparison of MD5-hashed passwords during authentication. An attacker can exploit this timing side channel to recover user credentials remotely, enabling unauthorized database access. This vulnerability does not affect scram-sha-256 password hashes, which are the default in all supported PostgreSQL releases. However, databases upgraded from PostgreSQL 13 or earlier may still use MD5-hashed passwords and thus remain vulnerable. Red Hat has issued security advisories and patches for affected PostgreSQL versions, particularly for PostgreSQL 13 on Red Hat Enterprise Linux 8. The recommended mitigation is to migrate all user passwords away from MD5 hashing by altering passwords, which updates the hash to the stronger scram-sha-256 method.

Potential Impact

The vulnerability allows remote attackers to recover user credentials through a covert timing channel in MD5 password comparison, potentially leading to unauthorized authentication to the PostgreSQL database. This compromises confidentiality and integrity of user credentials but does not affect availability. Systems using scram-sha-256 password hashing are not impacted. The CVSS v3.1 base score assigned by Red Hat is 8.2 (high), reflecting high confidentiality impact and low integrity impact with no availability impact.

Mitigation Recommendations

A security update fixing this vulnerability is available from Red Hat for PostgreSQL 13 on Red Hat Enterprise Linux 8. Users should apply the official patch from Red Hat advisories (e.g., RHSA-2026:28208). Additionally, to mitigate the risk, all PostgreSQL user passwords should be migrated from MD5 hashing to scram-sha-256 by resetting passwords using the SQL command: ALTER USER username WITH PASSWORD 'new_password'; This will update the password hash to the default stronger algorithm and require users to re-authenticate. Services relying on these credentials may need to be restarted to apply changes. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:28208
Cve Count
1
State
PUBLISHED

Threat ID: 6a3aab53eed863c81e3a37ed

Added to database: 06/23/2026, 15:50:43 UTC

Last enriched: 08/03/2026, 22:50:33 UTC

Last updated: 09/14/2026, 22:01:36 UTC

Views: 179

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses