Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite local files, e.g. /var/lib/postgres/.bashrc, that hijack the operating system account. It will remain the case that starting the server after these commands implicitly trusts the origin superuser, due to features like shared_preload_libraries.
Overview
Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite local files, e.g. /var/lib/postgres/.bashrc, that hijack the operating system account. It will remain the case that starting the server after these commands implicitly trusts the origin superuser, due to features like shared_preload_libraries. Hence, the attack has practical implications only if one takes relevant action between these commands and server start, like moving the files to a different VM or snapshotting the VM. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
- Published
- 5/14/2026
- Last modified
- 11/11/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
postgresql postgresql | < 14.23 | Verify advisory | Source |
postgresql postgresql | ≥ 15.0, < 15.18 | Verify advisory | Source |
postgresql postgresql | ≥ 16.0, < 16.14 | Verify advisory | Source |
postgresql postgresql | ≥ 17.0, < 17.10 | Verify advisory | Source |
postgresql postgresql | ≥ 18.0, < 18.4 | Verify advisory | Source |
PostgreSQL n/a | ≥ 18, < 18.4 | Verify advisory | Source |
PostgreSQL n/a | ≥ 17, < 17.10 | Verify advisory | Source |
PostgreSQL n/a | ≥ 16, < 16.14 | Verify advisory | Source |
PostgreSQL n/a | ≥ 15, < 15.18 | Verify advisory | Source |
PostgreSQL n/a | < 14.23 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.