CLEANSTART-2026-MP62363: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer
Security vulnerability affects the postgresql19 package. Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
cleanstart/postgresql19to a version that resolves this vulnerability.Fixed in 16.2-r0
Event History
Frequently Asked Questions
Who can exploit this issue?
An object creator can exploit it when another user issues REFRESH MATERIALIZED VIEW CONCURRENTLY on the affected object. The attacker needs privileges to create the relevant object, while the refresh command issuer is the account whose SQL-function execution context can be abused.
What level of access and interaction does exploitation require?
The vulnerability is network-reachable with low attack complexity, but it requires low privileges and user interaction. Specifically, a user must issue the vulnerable refresh command after the attacker has created the object.
What is the potential impact if exploitation succeeds?
Successful exploitation can allow arbitrary SQL functions to run as the command issuer. The reported impact includes high confidentiality, integrity, and availability impact.