CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-73841

CVE-2026-73841: Broken Object Level Authorization (BOLA) in OpenChoreo Container Exec and Wirelogs Endpoints

Alon Barad
Alon Barad
Software Engineer

Sep 3, 2026·7 min read·17 visits

Executive Summary (TL;DR)

OpenChoreo failed to validate if a target component belonged to the caller's authorized project when processing container command executions and wirelog requests. Attackers could specify a project they owned while targeting components in other projects, gaining unauthorized remote shell access to arbitrary pods.

An Insecure Direct Object Reference (IDOR) / Broken Object Level Authorization (BOLA) vulnerability in OpenChoreo allows authenticated users with project-level permissions to bypass tenant boundaries. By manipulating client-controlled query parameters, an attacker can execute arbitrary commands inside Kubernetes containers or view sensitive communication streams of resources belonging to other, highly privileged projects within the same namespace.

Vulnerability Overview

OpenChoreo is an open-source developer platform designed for Kubernetes orchestration. Within its architecture, the openchoreo-api component exposes critical management endpoints. Among these, the exec endpoint allows interactive command execution within container terminals, and the wirelogs endpoint provides real-time access to inter-container communication data.

Because these endpoints manage low-level system interactions and sensitive diagnostic data, they represent a significant attack surface. In environments where multiple teams share a single Kubernetes namespace, strict boundary enforcement is required to maintain isolation between separate developer projects.

Prior to the patched versions, the authorization layer relied on client-supplied input rather than verifying the authoritative state of the targeted resource. This architectural oversight led to a critical Broken Object Level Authorization (BOLA) vulnerability, classified as CWE-639 and CWE-863. This flaw permitted users with minimal privileges in one project to escape their boundaries and compromise workloads in other projects.

Root Cause Analysis

The root cause of this vulnerability lies in the implementation of the authorization checking and pod resolution sequence within internal/openchoreo-api/api/handlers/exec.go and internal/openchoreo-api/api/handlers/wirelogs.go.

When a client issues a request to execute a command inside a component's container, the API server extracts the target component name from the request path and reads the project identifier from the project query parameter. This project value, directly controlled by the client, is passed to the Casbin Policy Decision Point (PDP) as part of the ResourceHierarchy struct to evaluate authorization.

If the client has valid permissions (such as component:exec) for the requested project name, Casbin approves the request. However, during the subsequent pod resolution step, the handler retrieves the target pod from the Kubernetes API using only the component name. It fails to verify if the resolved component is actually owned by the authorized project.

Additionally, the pre-patch logic failed to pass the specific component name to the Casbin context. Because the policy engine requires strict hierarchy matching, omitting the component name from the authorization path meant that component-specific role bindings were ignored, and authorization evaluations reverted to broader, project-level permissions. This structural omission facilitated the scope bypass.

Code Analysis

The remediation introduces structured component lookup to retrieve the authoritative owning project prior to any authorization check. The following diff displays the core modifications made to the API handlers:

// Fragment from internal/openchoreo-api/api/handlers/exec.go
 
	componentName := parts[1]
 
 	query := r.URL.Query()
-	project := query.Get("project")
+	requestedProject := query.Get("project")
 	envName := query.Get("env")
 	container := query.Get("container")
 	commands := query["command"]
@@ -75,12 +76,31 @@ func (h *ExecHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
 	ctx := r.Context()
 	logger := h.logger.With("namespace", namespace, "component", componentName)
 
-	// Authorize: check that the caller has component:exec permission.
+	// Authorization must be configured before any access decision is made.
 	if h.authzChecker == nil {
 		logger.Error("Authorization checker not configured")
 		http.Error(w, "authorization not configured", http.StatusInternalServerError)
 		return
 	}
+
+	// Pin authorization and pod resolution to the component's real owning project
+	// rather than the caller-supplied `project`.
+	project, err := h.resolveComponentProject(ctx, namespace, componentName)
+	if err != nil {
+		logger.Warn("Failed to resolve component for exec", "error", err)
+		http.Error(w, fmt.Sprintf("failed to resolve component: %v", err), http.StatusBadRequest)
+		return
+	}
+	// Fail closed if the caller named a project that does not own the component.
+	if requestedProject != "" && requestedProject != project {
+		logger.Warn("requested project does not own the target component; denying exec",
+			"requestedProject", requestedProject, "ownerProject", project)
+		http.Error(w, "you do not have permission to exec into this component", http.StatusForbidden)
+		return
+	}

To support this check, the helper function resolveComponentProject queries the Kubernetes API server directly to fetch the Component resource and extract the authoritative owner:

func (h *ExecHandler) resolveComponentProject(ctx context.Context, namespace, componentName string) (string, error) {
	comp := &openchoreov1alpha1.Component{}
	if err := h.k8sClient.Get(ctx, client.ObjectKey{Namespace: namespace, Name: componentName}, comp); err != nil {
		if apierrors.IsNotFound(err) {
			return "", fmt.Errorf("component %q not found in namespace %q", componentName, namespace)
		}
		return "", fmt.Errorf("failed to look up component %q: %w", componentName, err)
	}
	if comp.Spec.Owner.ProjectName == "" {
		return "", fmt.Errorf("component %q has no owning project", componentName)
	}
	return comp.Spec.Owner.ProjectName, nil
}

This implementation prevents the authorization bypass by binding the Casbin decision strictly to the comp.Spec.Owner.ProjectName metadata. If the user-supplied project query parameter does not match the actual owning project of the target component, the request is denied immediately with a generic 403 Forbidden error.

Exploitation Methodology

An attacker with valid, low-privilege credentials belonging to a designated project (e.g., project-a) can compromise workloads belonging to a separate project (e.g., project-b) inside the same namespace.

The following sequence diagram details the exploitation flow:

To perform the attack, the adversary establishes a connection to the terminal endpoint, passing their authorized project ID in the query string while naming the targeted component in the path:

GET /exec/namespaces/default/components/sensitive-db-service?project=attacker-owned-project

If the connection is upgraded to a WebSocket, the API establishes an interactive SPDY stream directly into the container running sensitive-db-service. The attacker gains full command-line execution privileges as configured inside the target container's runtime security profile.

Impact Assessment & Residual Risk

The impact of this vulnerability is significant, as it leads to multi-tenant isolation collapse within shared Kubernetes clusters managed by OpenChoreo. Successful exploitation yields remote command execution inside arbitrary container workloads, potentially exposing cluster service account tokens, database credentials, and application source code.

Although the core patch effectively resolves the primary execution path, security teams should evaluate the following residual risks:

  1. Dynamic Metadata Mutations (TOCTOU): Because Kubernetes Custom Resources are evaluated dynamically, there is a minor race window between the component ownership lookup and the establishment of the SPDY tunnel. Mutating resource specifications rapidly could theoretically exploit synchronization delays.

  2. The Wirelogs Parameter Validation Gap: In the live traffic streaming handler (wirelogs), if the component parameter is omitted, the project-lookup function is bypassed. System engineers must verify that the underlying logging backend (such as Hubble) enforces strict network-level security controls independently of OpenChoreo's API layer.

Detection and Verification

To detect exploitation attempts prior to patching, security administrators should audit API server logs for diagnostic mismatches. Look for requests where the supplied project query string diverges from the target component's actual namespace or known namespace mappings.

Following the patch, failed exploitation attempts generate explicit warnings in the API logs:

requested project does not own the target component; denying exec

To query these occurrences within centralized log aggregators, use the following search syntax:

"requested project does not own the target component" OR "you do not have permission to view wirelogs for this scope"

In addition, deployment integrity can be verified via the following programmatic test case, which checks that mismatching projects trigger an explicit 403 Forbidden response and bypass policy execution entirely:

func TestExecHandler_DeniesComponentProjectMismatch(t *testing.T) {
	pdp := testutil.AllowPDP()
	h := newExecHandler(t, pdp, execComponent("default", "victim-svc", "team-b"))
 
	rec := httptest.NewRecorder()
	h.ServeHTTP(rec, httptest.NewRequest(http.MethodGet,
		"/exec/namespaces/default/components/victim-svc?env=development&project=team-a",
		nil).WithContext(testutil.AuthzContext()))
 
	require.Equal(t, http.StatusForbidden, rec.Code)
	require.Empty(t, pdp.Captured, "authz must not run when requested project does not own the component")
}

Fix Analysis (3)

Technical Appendix

CVSS Score
8.8/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Probability
0.35%
Top 72% most exploited

Affected Systems

OpenChoreo API Server (openchoreo-api)

Affected Versions Detail

Product
Affected Versions
Fixed Version
OpenChoreo
openchoreo
< 1.1.61.1.6
OpenChoreo
openchoreo
>= 1.2.0-m.1, < 1.2.31.2.3
AttributeDetail
CWE IDCWE-639 / CWE-863
Attack VectorNetwork (AV:N)
CVSS v3.1 Score8.8 (High)
EPSS Score0.00353 (Percentile: 28.24%)
ImpactCommand Execution / Information Disclosure
Exploit StatusProof-of-Concept
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-639
Authorization Bypass Through User-Controlled Key

The system uses a client-provided key to perform authorization checks, rather than verifying the real owner or identity of the targeted resource.

References & Sources

  • [1]GitHub Security Advisory GHSA-52gf-6rpq-fgmx
  • [2]CVE-2026-73841 Record on CVE.org
  • [3]OpenChoreo Pull Request 4251
  • [4]OpenChoreo Pull Request 4516
  • [5]OpenChoreo Pull Request 4538

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•2 minutes ago•CVE-2026-114133
5.4

CVE-2026-114133: Stored Cross-Site Scripting via useHeadSafe in Nuxt Server Islands

A Stored Cross-Site Scripting (XSS) vulnerability exists in Nuxt Server Island rendering logic when utilizing the useHeadSafe composable. Raw head attributes bypass sanitization during island serialization.

Amit Schendel
Amit Schendel
0 views•4 min read
•about 1 hour ago•CVE-2026-114132
6.3

CVE-2026-114132: Case-Sensitivity Route Rule Bypass in Nuxt Framework

Nuxt versions prior to 4.6.2 suffer from a route rule bypass vulnerability caused by an architectural mismatch in case-sensitivity handling between the Nitro server runtime and the Vue page router. An unauthenticated remote attacker can bypass server-enforced route directives—such as redirects, security headers, and SSR controls—by altering character casing in HTTP request paths.

Amit Schendel
Amit Schendel
3 views•6 min read
•about 2 hours ago•GHSA-78G4-XQWV-Q3G8
7.5

GHSA-78G4-XQWV-Q3G8: Heap-Based Buffer Overflow in Pillow (libopenjp2)

A heap-based buffer overflow vulnerability in Pillow PyPI binary wheels (versions 11.1.0 to 12.x) allows remote code execution or application crash via crafted JPEG 2000 files processed by the bundled libopenjp2 library.

Alon Barad
Alon Barad
14 views•4 min read
•about 3 hours ago•CVE-2026-109618
9.8

CVE-2026-109618: Remote Code Execution in PHP Core via Out-of-Memory longjmp() Uninitialized Memory Access

CVE-2026-109618 (dubbed PHP2Shell) is a critical vulnerability in the PHP engine core resulting from improper out-of-memory exception handling via longjmp(). When request allocation fails mid-processing, non-local control flow bypasses cleanup procedures, leaving memory structures uninitialized or in a use-after-free state during request shutdown.

Amit Schendel
Amit Schendel
10 views•5 min read
•about 3 hours ago•CVE-2026-109619
9.2

CVE-2026-109619: Remote Code Execution in PHP Core via Stale Global State Memory Corruption (PHP2Shell)

CVE-2026-109619 (PHP2Shell) is a critical Use-After-Free vulnerability in the core PHP engine caused by improper global state cleanup during out-of-memory exception handling across persistent worker requests.

Alon Barad
Alon Barad
13 views•6 min read
•about 3 hours ago•CVE-2026-113721
4.5

CVE-2026-113721: Unsafe Link Resolution in virtualenv File Generation

In Python virtualenv prior to version 21.14.9, activation script generators and configuration writers use Path.exists() before writing files. Because Path.exists() resolves symbolic links, it returns False for dangling symlinks. Consequently, virtualenv skips unlinking pre-planted symbolic links or hard links, writing data directly to target locations outside the intended virtual environment directory.

Amit Schendel
Amit Schendel
4 views•5 min read