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-79767

CVE-2026-79767: Authorization Bypass in Gardener API Server admission plugin

Alon Barad
Alon Barad
Software Engineer

Sep 23, 2026·7 min read·21 visits

Executive Summary (TL;DR)

Gardener's admission plugin failed to compare Group and ServiceAccount subjects during membership updates, enabling restricted project administrators to bypass permission checks and escalate access by injecting arbitrary groups.

An incorrect authorization vulnerability (CWE-863) in Gardener's customverbauthorizer admission plugin allows project administrators lacking the manage-members permission to inject arbitrary Group or ServiceAccount subjects, granting unauthorized access to project resources.

Vulnerability Overview

Gardener is an open-source system designed to orchestrate the management of Kubernetes clusters across multiple cloud providers. The Gardener API Server implements custom resource definitions (CRDs), including the Project resource, to partition clusters, users, and resources into administrative boundaries. To enforce access controls on these project boundaries, Gardener utilizes a dedicated admission plugin named customverbauthorizer.

The role of the customverbauthorizer admission plugin is to validate operations against custom RBAC verbs. Specifically, modifying the membership of a project (defined under Project.spec.members) is a highly sensitive action that normally requires the initiator to possess the manage-members custom verb authorization. This check ensures that a standard project administrator cannot arbitrarily elevate the privileges of other entities or introduce unauthorized external users into the project scope.

The vulnerability, identified as CVE-2026-79767 (and GHSA-gfjv-gqf2-c888), resides in the logic that determines if a membership modification has occurred. Due to an incomplete filtering mechanism within the validation code, changes involving Group and ServiceAccount subjects were completely omitted from comparison checks. This allows a project administrator who lacks the manage-members permission to execute update operations that inject unauthorized groups or service accounts directly into the project configuration.

Root Cause Analysis

The root cause of this vulnerability lies in the implementation of the helper function mustCheckProjectMembers inside the customverbauthorizer admission plugin. When an update request for a Project resource is processed, this function is called to determine if the membership list (Project.spec.members) has been modified in a way that necessitates the custom verb authorization check. The function compares the previous state of the members array against the newly requested state.

To perform this comparison, the plugin utilized a helper function named findHumanUsersWithRoles. This function was designed to extract and track only human user subjects from the members list, using the following logic to identify them:

func isHumanUser(subject rbacv1.Subject) bool {
	return subject.Kind == rbacv1.UserKind && !strings.HasPrefix(subject.Name, serviceaccount.ServiceAccountUsernamePrefix)
}

Because the comparison logic specifically queried for rbacv1.UserKind and excluded service account prefixes, any Subject of kind Group or ServiceAccount was silently ignored during the member extraction. Consequently, if an attacker updated a project to append a new Group subject (for example, the default system:authenticated group) or an external ServiceAccount subject, the comparison sets returned by findHumanUsersWithRoles for both the old and new specifications remained identical. The mustCheckProjectMembers function returned false, indicating that no restricted membership changes had occurred, and the API server processed the request without enforcing the manage-members authorization check.

Code Analysis and Logic Flow

A detailed review of the patch commit reveals how the vulnerability was introduced and remediated. The legacy code was based on an allowlist approach that strictly extracted human users, leaving all other subject types unmonitored. This logical gap meant that any non-human subject could be manipulated by unauthorized administrators.

// Legacy Vulnerable Implementation
func findHumanUsersWithRoles(members []core.ProjectMember) sets.Set[humanMembership] {
	result := sets.New[humanMembership]()
	for _, member := range members {
		if isHumanUser(member.Subject) {
			memberKey := humanMemberKey(member.Subject)
			for _, role := range member.Roles {
				result.Insert(humanMembership{member: memberKey, role: role})
			}
		}
	}
	return result
}

The patched implementation reverses this paradigm. It shifts from an allowlist of human users to a blocklist of local service accounts. The new helper function findNonServiceAccountsWithRoles extracts all subjects except those explicitly identified as local service accounts. This ensures that any modification to Group or external User subjects is caught during the evaluation.

// Patched Implementation
func findNonServiceAccountsWithRoles(members []core.ProjectMember) sets.Set[membership] {
	result := sets.New[membership]()
	for _, member := range members {
		if !isServiceAccountSubject(member.Subject) {
			memberKey := memberSubjectKey(member.Subject)
			for _, role := range member.Roles {
				result.Insert(membership{member: memberKey, role: role})
			}
		}
	}
	return result
}

The helper isServiceAccountSubject was also carefully designed to ensure service account groups (e.g., system:serviceaccounts) are not treated as local service accounts, preventing project admins from managing service account groups without authorization.

Exploitation Methodology

To exploit this vulnerability, an attacker must have administrative control over a Gardener project but must lack the manage-members custom verb permission. The attack is executed by directly modifying the spec.members section of the Project resource via the Kubernetes API.

In a standard scenario, the attacker identifies a target project where they are registered as a limited administrator. The existing members list contains only authorized human operators:

apiVersion: core.gardener.cloud/v1alpha1
kind: Project
metadata:
  name: target-project
spec:
  owner:
    apiGroup: rbac.authorization.k8s.io
    kind: User
    name: owner@example.com
  members:
  - roles:
    - admin
    subject:
      apiGroup: rbac.authorization.k8s.io
      kind: User
      name: restricted-admin@example.com

The attacker submits an HTTP PUT or PATCH request to update the project resource. They inject a new entry into the members array containing a broad Kubernetes group, such as the standard system:authenticated group, assigning it the admin role:

  members:
  - roles:
    - admin
    subject:
      apiGroup: rbac.authorization.k8s.io
      kind: User
      name: restricted-admin@example.com
  - roles:
    - admin
    subject:
      apiGroup: rbac.authorization.k8s.io
      kind: Group
      name: system:authenticated

Because the customverbauthorizer processes only human users, it compares the before-and-after user sets, finds them identical (both only containing restricted-admin@example.com), and permits the transaction. Once committed, any authenticated user in the cluster inherits project administrator capabilities, bypassing the intended RBAC boundaries.

Security Impact Assessment

The security impact of CVE-2026-79767 is classified as Medium with a CVSS v3.1 base score of 5.5. The vulnerability requires high privileges (PR:H) because the attacker must already possess an administrative role within the targeted project to modify the resource. However, the integrity impact is high (I:H) within the scope of the affected project.

Successful exploitation allows complete authorization bypass within the project boundary. By mapping the project's administrator role to generic groups (like system:authenticated) or external service accounts, an attacker can expose all resources managed within the project. This includes access to Shoots (the managed Kubernetes clusters), sensitive Kubernetes Secrets containing credentials, and cloud provider infrastructure integration tokens (e.g., AWS, Azure, GCP access keys).

This logical bypass weakens the multi-tenancy assurances provided by Gardener. Although it does not escape the boundary of the master Kubernetes API server, the compromise of project isolation allows lateral movement across any target clusters managed under the compromised project scope.

Remediation and Detection Guidance

The primary remediation step is to upgrade the Gardener deployment to a non-vulnerable release. Security teams should target the respective patch branches depending on their current deployment path:

  • Upgrade to 1.142.6 or higher (for 1.142.x deployments)
  • Upgrade to 1.143.3 or higher (for 1.143.x deployments)
  • Upgrade to 1.144.2 or higher (for 1.144.x deployments)
  • Upgrade to 1.145.0 or higher

To audit existing Gardener environments for active exploitation or misconfigurations, administrators can execute a script to identify any projects that contain non-human subjects in their members list. The following Bash script utilizes kubectl and jq to parse project resources:

#!/usr/bin/env bash
set -euo pipefail
 
echo "[*] Auditing Gardener Project resources for non-User subjects..."
PROJECTS_JSON=$(kubectl get projects -o json)
 
echo "$PROJECTS_JSON" | jq -r '
  .items[] | {
    name: .metadata.name,
    suspicious_members: [
      .spec.members[]? | select(.subject.kind != "User") | {
        kind: .subject.kind,
        name: .subject.name,
        roles: .roles
      }
    ]
  } | select(.suspicious_members | length > 0)
'

Additionally, security operations teams should analyze Kubernetes API server audit logs for update requests to the projects API endpoint. Audit entries where the user executing the change does not possess the manage-members custom verb, but the payload contains Group or ServiceAccount additions, indicate potential exploitation attempts.

Official Patches

GardenerOfficial Security Advisory

Fix Analysis (1)

Technical Appendix

CVSS Score
5.5/ 10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N

Affected Systems

Gardener API Server admission plugin (customverbauthorizer)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Gardener
gardener
< 1.142.61.142.6
Gardener
gardener
>= 1.143.0, < 1.143.31.143.3
Gardener
gardener
>= 1.144.0, < 1.144.21.144.2
Gardener
gardener
< 1.145.01.145.0
AttributeDetail
CWE IDCWE-863 (Incorrect Authorization)
Attack VectorNetwork (AV:N)
CVSS Score5.5 (Medium Severity)
EPSS ScoreN/A
ImpactPrivilege Escalation / Authorization Bypass
Exploit StatusNone (No public exploits or active exploitation reported)
KEV StatusNot Listed in CISA KEV

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-863
Incorrect Authorization

The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly prove that the actor is authorized to perform the action.

Vulnerability Timeline

Patches developed and committed into Gardener repository branches.
2026-06-18
Vulnerability officially published in the CVE registry.
2026-09-22

References & Sources

  • [1]Gardener Security Advisory
  • [2]Vulnerability Fix Commit
  • [3]Fix Pull Request
  • [4]Release Tag Info v1.144.2

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

•6 minutes ago•CVE-2026-120792
7.3

CVE-2026-120792: Local Information Disclosure via Temporary File Logging in Microsoft .NET Aspire CLI

CVE-2026-120792 is a high-severity local information disclosure vulnerability in the Microsoft .NET Aspire CLI (Aspire.Cli) affecting versions 13.5.4 prior to 13.6.5. The flaw stems from the insertion of sensitive information into a shared temporary log file (CWE-532) combined with insecure temporary file creation (CWE-377) within the DeprecatedMcpCommandScanner component. During agent configuration scanning, the CLI unconditionally appends internal workspace paths and the first 200 characters of Model Context Protocol (MCP) agent configuration files to a statically named file in the system temporary directory. On multi-user systems, unprivileged local users can read this file to harvest API keys, authentication tokens, and internal service endpoints.

Alon Barad
Alon Barad
0 views•9 min read
•about 1 hour ago•CVE-2026-114159
8.8

CVE-2026-114159: Heap-Based Buffer Overflow in Microsoft Visual Studio and .NET Native Symbol Reader

CVE-2026-114159 is a heap-based buffer overflow vulnerability (CWE-122) in Microsoft.DiaSymReader.Native affecting Microsoft Visual Studio and the .NET Runtime on Windows. An integer truncation error during the parsing of oversized document names in Portable PDB symbol files causes an undersized heap allocation, leading to an out-of-bounds memory write and remote code execution.

Alon Barad
Alon Barad
4 views•10 min read
•about 2 hours ago•CVE-2026-114158
8.8

CVE-2026-114158: Heap-Based Buffer Overflow in Microsoft.DiaSymReader.Native Portable PDB Parser

CVE-2026-114158 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported servicing branches of Microsoft .NET (.NET 8.0, 9.0, 10.0, and 11.0) on Windows. The flaw resides in the native symbol reader library, Microsoft.DiaSymReader.Native, and is triggered when parsing Portable Program Database (PDB) metadata containing malformed EmbeddedSource custom debug information records. By supplying a parent Record Identifier (RID) of zero or an out-of-bounds value, an attacker causes an integer underflow during 1-based to 0-based index conversion, leading to a heap-based buffer overflow and arbitrary code execution within the context of the host developer tool or runtime.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 3 hours ago•CVE-2026-114151
8.8

CVE-2026-114151: Remote Code Execution via Stack-Based Buffer Overflow in Microsoft Visual Studio and .NET Symbol Reader

CVE-2026-114151 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported versions of the Microsoft .NET runtime on Windows. The flaw resides in the native Debug Information Access (DIA) symbol reader component, Microsoft.DiaSymReader.Native. When parsing Program Database (.pdb) files, the component fails to validate the length of serialized numeric records (specifically LF_DECIMAL structures) before unpacking them into a fixed-size stack buffer. An attacker who convinces a user or automated diagnostic process to load a crafted .pdb file can trigger a stack-based buffer overflow, resulting in arbitrary code execution within the context of the host process.

Alon Barad
Alon Barad
3 views•9 min read
•about 4 hours ago•GHSA-6856-87HX-P5X7
7.5

CVE-2026-105544: Local Elevation of Privilege in .NET Test Platform CLI

CVE-2026-105544 is a high-severity local elevation of privilege vulnerability in Microsoft .NET and Microsoft.TestPlatform.CLI. Improper access control on local inter-process communication mechanisms and execution brokers allows an authorized local attacker to cross security boundaries and execute arbitrary code in the context of a higher-privileged user running a test execution cycle.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 6 hours ago•CVE-2026-114152
8.8

CVE-2026-114152: Stack-Based Buffer Overflow and Untrusted Pointer Dereference in Microsoft DiaSymReader.Native

CVE-2026-114152 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple servicing branches of the Microsoft .NET runtime (.NET 8.0, 9.0, 10.0, and 11.0) on Windows platforms. The vulnerability exists within the native symbol reader library, Microsoft.DiaSymReader.Native, specifically inside the DiaObjectFile::ApplyFixup method during the processing of Common Object File Format (COFF) relocation records. By supplying a malformed object file or Program Database (PDB) symbol file containing out-of-bounds relocation offsets or invalid symbol table indices, an unauthenticated attacker can trigger an untrusted pointer dereference (CWE-822) and a stack-based buffer overflow (CWE-121). Successful exploitation occurs when a victim opens, compiles, or debugs a malicious project or symbol artifact, leading to arbitrary code execution within the security context of the active developer environment or build process.

Amit Schendel
Amit Schendel
5 views•11 min read