VYPR
Unrated severityNVD Advisory· Published Aug 11, 2023· Updated Mar 12, 2026

Postgresql: extension script @substitutions@ within quoting allow sql injection

CVE-2023-39417

Description

IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

82

Patches

Vulnerability mechanics

References

24

News mentions

2