Skip to main content

StackGres EUVDEUVD-2026-64648

| CVE-2026-78155 CRITICAL
Untrusted Search Path (CWE-426)
2026-08-23 GitLab GHSA-gf36-c938-gjrw
9.9
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege tenant owning a database
  2. Exploit
    Invoke operator action across trust boundary
  3. Execution
    Escalate to administrator privileges
  4. Impact
    Control operator and all tenant databases

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path verification
Exploitation Conditions

Exploitation requires the attacker to already hold a low-privilege tenant account that owns a database managed by the StackGres operator (PR:L, authenticated) and network reachability to the operator/API (AV:N); no user interaction and no elevated privileges beyond database ownership are needed (AC:L, UI:N). The primary limiting factor is that the attacker must be a provisioned tenant with database-owner rights, so deployments that are single-tenant, or where all database owners are trusted operators, are not realistically exposed. The scope change (S:C) means success grants privileges beyond the tenant's original security authority - full administrator control of the platform.

Impact

Signals are mostly aligned toward high priority but incomplete. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9) indicates a network-reachable, low-complexity attack requiring only low privileges and no user interaction, with a scope change and full CIA impact - consistent with a tenant fully compromising the platform. However, EPSS is not provided, the vulnerability is not in CISA KEV (so no confirmed active exploitation), and no POC is referenced, so the practical exploitation likelihood is unquantified. The high CVSS is driven by the scope change and privilege gain rather than by evidence of in-the-wild use, so this is best treated as a high-severity latent risk in multi-tenant StackGres deployments rather than a confirmed under-attack emergency. A key caveat: PR:L implies an authenticated attacker (a legitimate tenant), so environments running StackGres single-tenant or with only trusted operators face materially lower real-world risk than shared/multi-tenant clusters.

Exploit ScenarioDerived

A malicious or compromised tenant who legitimately owns a database within a shared StackGres deployment abuses the operator's flawed privilege handling to escalate from database-owner to platform administrator. With administrator control the attacker can read, alter, or destroy other tenants' databases and manipulate the operator itself. The low attack complexity and lack of required user interaction make exploitation straightforward for any account with the needed tenant privilege, though no public exploit code is currently known.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 23, 2026

Privilege escalation in the OnGres StackGres operator lets a low-privilege, database-owning tenant elevate to administrator privileges, breaking the multi-tenant isolation model of this Kubernetes-based PostgreSQL platform. The CVSS 9.9 rating with a scope change (S:C) reflects that an authenticated tenant confined to their own database can cross a trust boundary to gain full administrative control. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; the only public reference is a GitLab work item tracking the flaw.

RemediationAI

No vendor-released patch version is identified at time of analysis - the only reference is a GitLab work item (https://gitlab.com/ongresinc/stackgres/-/work_items/3177) tracking the issue, not a tagged fixed release, so administrators should monitor that item and the StackGres release notes for a patched version and upgrade to it as soon as it is published. As compensating controls until a fix is available, restrict who can own or provision databases so that only trusted principals hold the tenant privileges required to trigger the flaw, apply strict Kubernetes RBAC and namespace isolation around the StackGres operator and its CRDs to limit the blast radius of a compromised tenant, and where feasible run separate StackGres control planes per trust domain rather than a shared multi-tenant operator (trade-off: higher operational and resource overhead). Audit operator and PostgreSQL role assignments for unexpected administrative grants as a detection measure; these controls reduce but do not eliminate the risk, since a legitimate low-privilege tenant is the assumed attacker.

Affected VersionsENISA

StackGres 0 ≤1.18.8

Affected Packages

euvd stackgres no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

StackGres is an OnGres-developed Kubernetes operator that provisions and manages PostgreSQL clusters as custom resources, typically serving multiple tenants from a shared control plane. The CVE is mapped to CWE-426 (Untrusted Search Path), which classically describes resolving an executable or resource from an attacker-influenceable location, allowing attacker-supplied code or resources to run with the privilege of the operator. Given the description centers on a tenant escalating to admin within the operator, the effective root cause is a privilege-management/trust-boundary failure in how the operator distinguishes tenant-owned database roles from operator/cluster administration - note the CWE-426 mapping fits awkwardly with the tenant-to-admin description and may reflect an imprecise classification (a CWE-269 improper-privilege-management class would align more directly). The affected component is identified by CPE cpe:2.3:a:ongres:stackgres across all versions (version wildcard).

Know when Stackgres gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitLab) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Authenticated tenant (PR:L) reaches operator over network (AV:N) with low complexity, crossing a trust boundary (S:C) to gain full administrative CIA impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

The OnGres StackGres operator, a Kubernetes-based PostgreSQL platform managing multi-tenant database deployments, contains a critical privilege escalation vulnerability (CVSS 9.9) allowing any authenticated database tenant to escalate to full administrator privileges. A customer with legitimate access to their own database could gain complete administrative control over all other tenant databases within the same cluster, compromising data confidentiality, integrity, and administrative governance across the entire multi-tenant environment. Organizations running StackGres to serve multiple customers or business units face immediate risk of data breach, unauthorized cross-tenant data access, and loss of operational control.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) enforcing least-privilege database user policies, eliminating administrative capabilities from tenant-controlled accounts, (2) implementing network segmentation and firewall rules isolating tenant workloads from operator and administrative control planes, (3) deploying Kubernetes RBAC and Pod Security Policies strictly limiting tenant container privileges, (4) implementing comprehensive audit logging and real-time alerting for privilege escalation attempts, unexpected administrative access, and cross-tenant database queries, (5) temporarily suspending untrusted external tenant access until patch availability, and (6) for critical deployments, isolating high-risk tenants into separate dedicated StackGres operator instances.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche cloud-native PostgreSQL-on-Kubernetes operator, specialized deployment footprint
Social Media
6
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy