Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 75%

CVE-2026-6475: UNIX Symbolic Link (Symlink) Following in PostgreSQL

0
High
VulnerabilityCVE-2026-6475cvecve-2026-6475
Published: 05/14/2026 (05/14/2026, 13:00:11 UTC)
Source: CVE Database V5
Product: PostgreSQL

Description

CVE-2026-6475 is a high-severity vulnerability in PostgreSQL affecting versions prior to 18.4, 17.10, 16.14, 15.18, and 14.23. It involves symbolic link (symlink) following in the pg_basebackup plain format and pg_rewind utilities, allowing an origin superuser to overwrite local files such as /var/lib/postgres/. bashrc. This can lead to hijacking the operating system account if relevant actions are taken between these commands and server restart. The vulnerability relies on the implicit trust of the origin superuser when starting the server, especially with features like shared_preload_libraries.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Postgresqlmore threats →ai
postgresql/postgresql
pkg:deb/postgresql/postgresql
Affected versions
<14.23<15.18<16.14<17.10<18.4

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: 05/21/2026, 15:38:43 UTC

Technical Analysis

This vulnerability in PostgreSQL concerns symlink following behavior in pg_basebackup (plain format) and pg_rewind. An origin superuser can exploit this to overwrite arbitrary local files on the server, potentially hijacking the OS account associated with PostgreSQL. The attack's practical impact depends on actions taken between executing these commands and restarting the PostgreSQL server, as the server implicitly trusts the origin superuser during startup due to features like shared_preload_libraries. Affected versions include all PostgreSQL releases before 18.4, 17.10, 16.14, 15.18, and 14.23. The CVSS v3.1 score is 8.8, indicating high severity. No vendor advisory or patch links are provided, and the remediation level is not specified.

Potential Impact

Successful exploitation allows an origin superuser to overwrite local files on the PostgreSQL server host, such as the .bashrc file, which can lead to hijacking the operating system account. This can compromise system integrity and potentially allow privilege escalation or persistent access. The vulnerability's impact is contingent on the timing of server restart and any administrative actions taken between backup/rewind commands and server startup.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should avoid taking actions that involve moving files or snapshots between pg_basebackup/pg_rewind operations and server restarts. Monitoring PostgreSQL vendor communications for updates and applying patches promptly once released is recommended.

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

Technical Details

Data Version
5.2
Assigner Short Name
PostgreSQL
Date Reserved
2026-04-17T00:43:21.782Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a05cfe8ec166c07b0e13941

Added to database: 05/14/2026, 13:36:40 UTC

Last enriched: 05/21/2026, 15:38:43 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 133

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.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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