CVE-2026-23634: Pepr Overly Permissive RBAC ClusterRole in Admin Mode

Published Jan 15, 2026
·
Updated

Pepr is a type safe K8s middleware. Prior to 1.0.5 , Pepr defaults to a cluster-admin RBAC configuration and does not explicitly force or enforce least-privilege guidance for module authors. The default behavior exists to make the “getting started” experience smooth: new users can experiment with Pepr and create resources dynamically without needing to pre-configure RBAC. This vulnerability is fixed in 1.0.5.

Other sources

Severity: LOW Target: /workspace/pepr/src/lib/assets/rbac.ts Endpoint: Kubernetes RBAC configuration Method: Deployment

Response / Rationale Pepr defaults to rbacMode: "admin" because the initial experience is designed to be frictionless for new users. This mode ensures that users can deploy and run the default hello-pepr.ts module without needing to understand or pre-configure RBAC rules.

It’s important to note that hello-pepr.ts is intended strictly as a demo to showcase Pepr features and workflow. It is not intended for production use, and the documentation explicitly calls out that admin RBAC should not be used in production environments.

That said, if a user skips the documentation and does not review the npx pepr build options, they could deploy a module with broader privileges than necessary.

We consider this low severity because Pepr is a framework: the module author is ultimately responsible for selecting the appropriate RBAC scope for their module and environment as each module has different RBAC needs and requirements.

Our security focus is on ensuring the Pepr controller and runtime components operate securely within Kubernetes, while still allowing developers the flexibility to build modules with the access they require.

In order to fix this we will warn the user in logs that the default ClusterRole is cluster-admin and that it is not recommended for production.

How this can be exploited

This is not an inherently exploitable CVE in the traditional sense. It is being flagged because Pepr defaults to a cluster-admin RBAC configuration and does not explicitly force or enforce least-privilege guidance for module authors.

The default behavior exists to make the “getting started” experience smooth: new users can experiment with Pepr and create resources dynamically without needing to pre-configure RBAC.

Remediation: scope RBAC appropriately before deploying to production. Running:

bash npx pepr build --rbac-mode=scoped

generates the minimum RBAC required for the controller/informer to watch resources. Any additional permissions must be added based on the specific Kubernetes resources and CRUD operations performed by the module

GitHub

Affected Software

2 affected componentsFixes available
npm/pepr<1.0.5
1.0.5
Defenseunicorns Pepr<1.0.5

Event History

Jan 15, 2026
Advisory Published
via GitHub·08:14 PM
Data Sourced
via GitHub·08:14 PM
DescriptionWeaknessAffected Software
Jan 16, 2026
CVE Published
via MITRE·07:14 PM
Data Sourced
via MITRE·07:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
Affected Software
Aug 31, 58142
Event
via NVD·04:58 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-23634?

CVE-2026-23634 is classified as a high severity vulnerability due to the overly permissive RBAC configuration allowing unrestricted access.

2

How do I fix CVE-2026-23634?

To fix CVE-2026-23634, upgrade Pepr to version 1.0.5 or later to enforce least-privilege guidance.

3

What impact does CVE-2026-23634 have on Kubernetes environments?

CVE-2026-23634 can lead to unauthorized access and control over Kubernetes resources due to default cluster-admin permissions.

4

Who is affected by CVE-2026-23634?

CVE-2026-23634 affects users of Pepr prior to version 1.0.5 who have implemented the middleware in their Kubernetes environments.

5

Is there a workaround for CVE-2026-23634 before upgrading?

There are no official workarounds for CVE-2026-23634; upgrading to the latest version is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203