Bug 2589109 (CVE-2026-142120) - CVE-2026-142120 kubemacpool: kubemacpool: unauthenticated admission webhook exhausts the MAC pool
Summary: CVE-2026-142120 kubemacpool: kubemacpool: unauthenticated admission webhook e...
Keywords:
Status: NEW
Alias: CVE-2026-142120
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 04:41 UTC by OSIDB Bzimport
Modified: 2026-12-03 05:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 04:41:18 UTC
Reported by EZO Labs Security.

A flaw was found in kubemacpool. The pod and virtual machine mutating admission webhooks are served with a server certificate only and do not authenticate the client. From a pod in the cluster, a caller can submit an AdmissionReview that the handlers apply to the in-memory MAC pool.

Pod allocations are recorded without an expiry and are released when a real pod deletion is observed. Reservations made for pods that never exist therefore remain until the kubemacpool process restarts. Virtual machine allocations are different: when KubeVirt is installed, stale entries are removed after the configured wait (300 seconds in the shipped manifests) if the virtual machine object was never created.

Both webhooks are deployed with failurePolicy Fail. Once allocation fails, or the webhook does not answer in time, the API server rejects the admission. In the shipped configuration the virtual machine webhook applies unless a namespace opts out, so new virtual machine creation is denied cluster-wide. Existing virtual machines continue to run. The pod webhook is opt-in. Forged responses are not used by the API server, and the flaw does not expose or create credentials.

The behavior is present on current upstream main and in every supported downstream build, cnv-4.12 through cnv-5.0. Restarting the process rebuilds the pool from live objects and restores admission, but does not prevent the condition from being created again. A NetworkPolicy in front of the service is not a sufficient workaround. The fix belongs in the design: perform allocation from the controller, which already watches real pods and virtual machines, and keep the webhook from committing pool state.

No upstream issue, advisory, or fix has been published.


Note You need to log in before you can comment on or make changes to this bug.