Critical Security Update for PostgreSQL: Credential Recovery Vulnerability in MD5 Password Comparison

pg_repack Updated 24 Jun 2026

Summary

23/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:28208: Important: postgresql:13 security update. Affects pg_repack across 2 version ranges.

< 1.4.6-3.module_el8.6.0+2760+1746ec94 < 1.4.6-3.module_el8.6.0+3095+ee60d910

Fixed in 1.4.6-3.module_el8.6.0+2760+1746ec94 or 1.4.6-3.module_el8.6.0+3095+ee60d910, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

PostgreSQL is an advanced object-relational database management system (DBMS) known for its robustness, extensibility, and compliance with SQL standards. It supports various data types and offers features like transactions, subselects, triggers, views, and stored procedures. However, a recent vulnerability has been identified that affects its MD5 password comparison mechanism, potentially allowing unauthorized credential recovery through a covert timing channel.

Vulnerability Detail

The vulnerability, identified as CVE-2026-6478, arises from the way PostgreSQL handles MD5 password comparisons. An attacker could exploit this flaw to recover user credentials by measuring the time it takes for the server to respond to authentication attempts. This covert timing channel could lead to unauthorized access to sensitive data, posing a significant security risk to applications relying on PostgreSQL for data management.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update pg_repack
  • < 1.4.6-3.module_el8.6.0+2760+1746ec94 1.4.6-3.module_el8.6.0+2760+1746ec94
  • < 1.4.6-3.module_el8.6.0+3095+ee60d910 1.4.6-3.module_el8.6.0+3095+ee60d910

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, consider disabling MD5 password authentication in your PostgreSQL configuration until the update can be applied. This can be done by modifying the pg_hba.conf file to use a more secure authentication method.

Conclusion

The vulnerability CVE-2026-6478 poses a significant risk to PostgreSQL installations by allowing unauthorized credential recovery through timing attacks. It is crucial to update affected packages to their patched versions to mitigate this risk. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for pg_repack →

Share this vulnerability

FAQ

CVE-2026-6478 is a vulnerability in PostgreSQL that allows attackers to recover user credentials through a covert timing channel in MD5 password comparisons.

If you are using an affected version of PostgreSQL or related packages, you may be at risk. Use tools like Vulert to check your application for vulnerabilities.

If immediate updates are not possible, consider disabling MD5 authentication temporarily and switching to a more secure authentication method.

Detailed information can be found on the CVE page for CVE-2026-6478, which includes the impact, CVSS score, and acknowledgments.

Vulert monitors and alerts in real-time for open-source vulnerabilities using a manifest file like package-lock.json, allowing users to stay informed about potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for pg_repack.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update pg_repack
  • < 1.4.6-3.module_el8.6.0+2760+1746ec94 1.4.6-3.module_el8.6.0+2760+1746ec94
  • < 1.4.6-3.module_el8.6.0+3095+ee60d910 1.4.6-3.module_el8.6.0+3095+ee60d910

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback