PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-6475 Postgresql CVE debrief

PostgreSQL vulnerability allows origin superusers to overwrite local files via symlink following in pg_basebackup and pg_rewind, potentially hijacking operating system accounts if actions are taken between commands and server start. This issue affects multiple PostgreSQL versions, emphasizing the need for patching or mitigation to prevent potential exploitation. The vulnerability has practical implications if an attacker takes specific actions between the execution of these commands and the start of the PostgreSQL server, such as moving files to a different VM or snapshotting the VM.

Vendor
Postgresql
Product
Unknown
CVSS
HIGH 8.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-14
Original CVE updated
2026-11-11
Advisory published
2026-05-14
Advisory updated
2026-11-11

Who should care

PostgreSQL administrators, security teams, and IT professionals responsible for PostgreSQL deployments should assess exposure and apply necessary patches or mitigations. This includes reviewing PostgreSQL versions and configurations, especially for pg_basebackup and pg_rewind usage, and monitoring for suspicious activities around PostgreSQL operations.

Why it matters

CVE-2026-6475 is a high-severity vulnerability in PostgreSQL that allows origin superusers to overwrite local files via symlink following in pg_basebackup and pg_rewind. This could lead to operating system account hijacking if actions are taken between commands and server start. The vulnerability affects multiple PostgreSQL versions, and patching or mitigation is crucial to prevent potential exploitation.

  • Potential for local file overwrite and operating system account hijacking.
  • Requires verification of affected versions and configurations.
  • Necessity for timely patching or mitigation to prevent exploitation.
  • Importance of monitoring PostgreSQL operations for suspicious activities.

Technical summary

The vulnerability exists in PostgreSQL's pg_basebackup and pg_rewind features, allowing an origin superuser to create symlinks to overwrite local files. This can lead to potential hijacking of operating system accounts if an attacker takes specific actions between the execution of these commands and the start of the PostgreSQL server. The vulnerability affects multiple PostgreSQL versions, emphasizing the need for patching or mitigation to prevent potential exploitation. Defensive measures include assessing exposure, applying patches, restricting access to pg_basebackup and pg_rewind, and monitoring for suspicious activities.

Defensive priority

High priority for PostgreSQL administrators and security teams to assess exposure and apply patches, focusing on restricting access to pg_basebackup and pg_rewind, and ensuring proper file handling.

Recommended defensive actions

  • Assess exposure by reviewing PostgreSQL versions and configurations, especially for pg_basebackup and pg_rewind usage.
  • Apply patches or upgrades to affected versions (before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23).
  • Restrict access to pg_basebackup and pg_rewind to trusted users.
  • Monitor for suspicious activities around PostgreSQL operations.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, affected versions, and vendor advisory. However, specific details on exploitation or victim impact are not provided. The vulnerability exists in PostgreSQL's pg_basebackup and pg_rewind features, allowing an origin superuser to create symlinks to overwrite local files. Defensive measures include assessing exposure, applying patches, restricting access to pg_basebackup and pg_rewind, and monitoring for suspicious activities.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-6475 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-6475

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-6475 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-6475

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://www.postgresql.org/support/security/CVE-2026-6475/

    f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 - Patch, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.