CVE-2024-7348: PostgreSQL relation replacement during pg_dump executes arbitrary SQL
Vendor not yet named
Vendor fix available · Exploitation: not established
ExploitationNot established
Not in CISA KEV as of catalogue 2026.11.13 (13 Nov)
- In CISA KEV: not seen
- Exploited (reported): not seen
- Scanning observed: not seen
- Proof of concept public: not seen
- Not establishedNothing in the sources we check
Higher than 75% of scored CVEs
DescriptionNVD
Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected.
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- Postgresql
- Published
- August 2024
Coverage1 article · 1 outlet
First in our coverage: CISA, 30 Apr.
- ABB Symphony Plus PostgreSQL bug enables remote code executionCISA · official notice · first in our coverage · mentions it in passing
New articles also arrive in the RSS feed.