Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-78243 Overview
CVE-2026-78243 affects Apache YuniKorn versions 1.8.0 and later when configured with the non-default Lightweight Directory Access Protocol (LDAP) group resolver. The scheduler crashes when it processes a memberOf attribute entry that does not begin with CN=. An attacker who controls or influences LDAP group membership records can trigger an out-of-bounds read [CWE-248] that terminates the YuniKorn server. The flaw only impacts deployments that have explicitly enabled the LDAP group provider. Apache has fixed the issue in YuniKorn version 1.10.0.
Critical Impact
Malformed LDAP memberOf entries crash the Apache YuniKorn scheduler, disrupting Kubernetes workload scheduling for clusters relying on the LDAP group resolver.
Affected Products
- Apache YuniKorn 1.8.0 (with LDAP group resolver configured)
- Apache YuniKorn 1.9.x (with LDAP group resolver configured)
- Apache YuniKorn releases prior to 1.10.0 configured with the non-default LDAP group provider
Discovery Timeline
- 2026-10-07 - CVE-2026-78243 published to NVD
- 2026-10-07 - Last updated in NVD database
Technical Details for CVE-2026-78243
Vulnerability Analysis
Apache YuniKorn is a resource scheduler for Kubernetes workloads. Operators can configure a group resolver that queries an LDAP directory to determine the groups a submitting user belongs to. When YuniKorn parses the memberOf attribute returned for a user referenced in a pod specification, it assumes each distinguished name begins with the CN= prefix. The parser reads characters past that prefix without validating its presence. When an entry starts with another relative distinguished name component, such as OU= or DC=, the read extends beyond allocated bounds and the Go runtime panics, terminating the scheduler process.
The behavior falls under [CWE-248] Uncaught Exception. Because the scheduler is a central control-plane component, its termination halts queue processing and new pod placement for every tenant served by the affected cluster.
Root Cause
The root cause is missing input validation in the LDAP group resolver's distinguished name parser. The code slices the memberOf string on the assumption that CN= is always the first component. Entries that violate this assumption produce an out-of-bounds read rather than a handled error. Only installs with the non-default LDAP group provider configured reach this code path.
Attack Vector
Exploitation requires an attacker to influence the content of memberOf entries returned by the LDAP server for a user referenced in a submitted pod. This can occur if an attacker controls directory objects, operates a malicious or compromised LDAP server, or if a legitimate directory already contains group entries that do not start with CN=. Submitting a pod that triggers group resolution for the affected user is sufficient to crash the scheduler. No code execution or data disclosure results from the flaw; the impact is limited to availability.
No public proof-of-concept exploit is available at the time of publication. Technical details are documented in the Apache Mailing List Thread and the Openwall OSS Security Update.
Detection Methods for CVE-2026-78243
Indicators of Compromise
- Unexpected Apache YuniKorn scheduler process termination or restart loops in Kubernetes control-plane logs
- Go runtime panic traces in YuniKorn logs referencing the LDAP group resolver or distinguished name parsing routines
- LDAP query responses containing memberOf values that do not begin with CN= for users whose pods are being scheduled
Detection Strategies
- Inspect YuniKorn scheduler logs for repeated panics correlated with pod submissions that trigger LDAP group resolution
- Audit the directory for memberOf entries that begin with components other than CN=, such as OU= or DC=
- Alert on Kubernetes scheduler availability metrics and queue backlog growth that correlates with YuniKorn restarts
Monitoring Recommendations
- Enable centralized log collection for YuniKorn scheduler pods and alert on panic stack traces
- Monitor LDAP query responses handled by the group resolver, especially for user accounts newly referenced in pod specifications
- Track pod scheduling latency and failed admission events to detect scheduler outages early
How to Mitigate CVE-2026-78243
Immediate Actions Required
- Upgrade Apache YuniKorn to version 1.10.0 or later on all clusters where the LDAP group resolver is enabled
- If immediate upgrade is not possible, disable the LDAP group provider and fall back to the default group resolver
- Review and normalize directory entries so that every memberOf value for scheduler-referenced users begins with CN=
Patch Information
Apache has released Apache YuniKorn 1.10.0, which corrects the parser logic in the LDAP group resolver. Operators should plan an upgrade across all scheduler replicas. Full release details are available in the Apache Mailing List Thread.
Workarounds
- Switch the YuniKorn configuration to the default group resolver until the upgrade is complete
- Restrict which users can submit pods that trigger LDAP group lookups
- Harden the LDAP directory to prevent creation of group entries whose distinguished name does not start with CN=
# Disable the non-default LDAP group resolver in the YuniKorn ConfigMap
# Edit the yunikorn-configs ConfigMap and remove or comment out the ldap provider block
kubectl -n yunikorn edit configmap yunikorn-configs
# Example: revert to the default group resolver
# userResolver:
# provider: os
# # provider: ldap # disabled pending upgrade to 1.10.0
# Restart the scheduler to apply changes
kubectl -n yunikorn rollout restart deployment yunikorn-scheduler
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

