CVE-2026-78155
Received Received - Intake

Privilege Escalation in StackGres Operator

Vulnerability report for CVE-2026-78155, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-23

Last updated on: 2026-08-23

Assigner: GitLab Inc.

Description

privilege escalation in StackGres operator allows a low-privilege tenant who owns a database to gain administrator privileges

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-23
Last Modified
2026-08-23
Generated
2026-08-23
AI Q&A
2026-08-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
ongresinc stackgres From 1.0.0 (inc) to 1.18.8 (inc)
ongresinc stackgres 1.19.0-snapshot

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-426 The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a privilege escalation flaw in the StackGres operator. A low-privilege database owner can gain administrator privileges by exploiting unqualified SQL references in the metrics exporter. The exporter runs as a superuser and connects to all databases via superuser dblink sessions. An attacker sets a malicious search_path to execute functions with elevated privileges, enabling arbitrary code execution in the primary PostgreSQL pod.

Detection Guidance

Check StackGres operator versions between 1.x and 1.18.8 or 1.19.0-SNAPSHOT. Inspect PostgreSQL logs for unusual `dblink` sessions or superuser queries with unqualified catalog references. Look for database-level `search_path` modifications by low-privilege users.

Impact Analysis

An attacker with database ownership can gain full read/write access to all co-located databases. This allows arbitrary code execution in the primary PostgreSQL pod and potential lateral movement within the cluster. The impact includes complete control over the database environment and data.

Compliance Impact

This vulnerability could lead to unauthorized access and data breaches, violating compliance requirements for data protection and privacy such as GDPR and HIPAA. Full control over databases may result in unauthorized data exposure, modification, or deletion, triggering regulatory penalties and loss of trust.

Mitigation Strategies

Run the metrics exporter as a dedicated non-superuser role with pg_monitor privileges. Schema-qualify all catalog references in queries. Set search_path = pg_catalog in remote dblink sessions. Upgrade to a patched StackGres version if available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-78155. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart