CVE-2026-23634
JavaScript vulnerability analysis and mitigation

Overview

CVE-2026-23634 is a Least Privilege Violation vulnerability in Pepr, a type-safe Kubernetes middleware framework developed by Defense Unicorns. Prior to version 1.0.5, Pepr defaults to a cluster-admin RBAC ClusterRole configuration (rbacMode: "admin") and does not enforce or warn about least-privilege guidance for module authors, potentially leaving production deployments with excessive Kubernetes permissions. The vulnerability was published on January 15, 2026, and affects all Pepr versions before 1.0.5 (GitHub Advisory). It carries a CVSS v3.1 base score of 4.3 (Medium) per Feedly/NVD, though the GitHub Advisory Database rates it Low (1.7 CVSS v4), and the vendor classifies it as Low severity (GitHub Advisory, Pepr Advisory).

Technical details

The root cause is classified under CWE-272 (Least Privilege Violation) and CWE-276 (Incorrect Default Permissions), located in /workspace/pepr/src/lib/assets/rbac.ts (GitHub Advisory). Pepr's default rbacMode: "admin" grants the deployed controller a cluster-admin ClusterRole binding, which provides unrestricted access to all Kubernetes API resources across the entire cluster. This default was intentionally designed to simplify the onboarding experience for new users running the demo hello-pepr.ts module, but if a module author skips documentation and deploys to production without reconfiguring RBAC, the controller operates with far broader privileges than necessary (Pepr Advisory). This is not a traditional code-execution vulnerability but rather a misconfiguration-by-default that expands the blast radius of any compromise of the Pepr controller.

Impact

If a Pepr module is deployed to production with the default cluster-admin RBAC configuration, any compromise of the Pepr controller process — through a separate vulnerability or supply chain attack — would grant an attacker full control over the Kubernetes cluster, including the ability to read secrets, modify workloads, create privileged pods, and perform lateral movement across all namespaces (Pepr Advisory). The integrity impact is the primary concern, as an attacker leveraging the over-permissioned service account could modify any Kubernetes resource cluster-wide. Confidentiality is also at risk since cluster-admin access allows reading all Secrets, ConfigMaps, and other sensitive resources across namespaces (GitHub Advisory).

Exploitability

This vulnerability is not directly exploitable in isolation — it requires a secondary attack vector (e.g., compromising the Pepr controller) to leverage the excessive permissions (Pepr Advisory). There is no known public exploit code, no evidence of in-the-wild exploitation, and no threat actor attribution. The EPSS score is approximately 0.017% (4th percentile), indicating a very low probability of exploitation in the near term (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Mitigation and workarounds

Defense Unicorns released Pepr version 1.0.5 on January 15, 2026, which adds a log warning when the default cluster-admin ClusterRole is in use, alerting operators that it is not recommended for production (Pepr Release). The primary remediation is to upgrade to Pepr 1.0.5 or later and scope RBAC appropriately before any production deployment. Module authors should run npx pepr build --rbac-mode=scoped to generate the minimum required RBAC permissions for the controller and informer, then add only the specific permissions needed for their module's Kubernetes resource operations (GitHub Advisory).

Community reactions

The vendor (Defense Unicorns) published a detailed advisory explaining the design rationale and explicitly classifying the issue as low severity, noting that the cluster-admin default is intentional for developer onboarding and that production guidance is documented (Pepr Advisory). The fix was described as adding a log warning rather than changing the default behavior, reflecting the vendor's position that module authors bear responsibility for RBAC scoping. No significant broader media coverage or notable researcher commentary beyond the advisory itself was identified.

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • gemini-cli
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026
CVE-2026-71849LOW3.7
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management