CVE-2026-73263
Remote command execution via malicious kubeconfig in Prowler ≤5.35.9.
- CVSS 9.9
- CWE-78
- Input Validation and Sanitization
- Remote
Prowler is a cloud security platform. Prior to 5.36.0, the Kubernetes provider connection test accepted kubeconfig_content containing a legacy gcp auth-provider with config.cmd-path and config.cmd-args because kubeconfig_contains_exec_auth in api/src/backend/api/v1/serializers.py checked only exec blocks, and POST /api/v1/providers/{id}/connection loaded it through config.load_kube_config_from_dict in prowler/providers/kubernetes/kubernetes_provider.py, causing kubernetes-python CommandTokenSource.token to run the attacker-supplied command through subprocess.Popen on the shared worker. This issue is fixed in version 5.36.0.
- CWE
- CWE-78
- CVSS base score
- 9.9
- Published
- 2026-08-12
- OWASP
- A03 Injection
- Orthogonal defect classification
- Interface
- Code defect classification
- Missing Check
- Category
- Input Validation and Sanitization
- Subcategory
- Command Injection
- Accessibility scope
- Remote
- Impact
- Arbitrary Code Execution
- Affected component
- kubernetes-python
- Fixed by upgrading
- Yes
Solution
Upgrade Prowler to version 5.36.0 or later.
Vulnerable code sample
import json
from kubernetes import config
def load_kube_provider(kubeconfig_dict):
# VULNERABLE: loads unvalidated exec auth allowing command injection
config.load_kube_config_from_dict(kubeconfig_dict)
# Further processing...
return TruePatched code sample
import json
from kubernetes import config
def load_kube_provider(kubeconfig_dict):
# FIX: reject kubeconfigs containing exec auth blocks
users = kubeconfig_dict.get("users", [])
for user_entry in users:
user = user_entry.get("user", {})
if "exec" in user:
raise ValueError("Exec auth not allowed in kubeconfig")
config.load_kube_config_from_dict(kubeconfig_dict)
# Further processing...
return TruePublished fix
Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.
- fix(kubernetes): block kubeconfig command auth bypass (#12091) (prowler-cloud/prowler)
api/src/backend/api/v1/serializers.py,api/src/backend/api/v1/serializers.py · KubernetesProviderSecret.validate_kubeconfig_content,api/src/backend/api/v1/serializer_utils/providers.py
Cite this entry
@misc{vaitp:cve202673263,
title = {{Remote command execution via malicious kubeconfig in Prowler ≤5.35.9.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-73263},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-73263/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
