Pepr Overly Permissive RBAC ClusterRole Vulnerability

Vulnerability

A vulnerability exists in Pepr, a type-safe Kubernetes middleware, prior to version 1.0.5, where the default Role-Based Access Control (RBAC) configuration grants cluster-admin privileges. This default setting does not enforce least-privilege guidelines for module authors, allowing them to deploy modules with excessive permissions. While this vulnerability is not inherently exploitable, it poses a risk if users overlook the documentation and deploy production modules with unnecessary privileges.

Impact

The vulnerability allows module authors to unintentionally assign broader RBAC permissions than needed, potentially leading to misuse of administrative privileges in a Kubernetes cluster.

Remediation

Users should scope RBAC appropriately before deploying to production. The command 'npx pepr build --rbac-mode=scoped' can be used to generate the minimum required RBAC permissions. Any additional permissions should be based on the specific Kubernetes resources and operations needed by the module.

Added: Jan 16, 2026, 8:29 PM
Updated: Jan 16, 2026, 8:29 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
3.3
remediation
0.0
relevance
2.1
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.