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-111682 Overview
CVE-2026-111682 is a missing authorization vulnerability [CWE-862] in Eagle For Apache Kafka (EFAK) versions 5.0.0 through 5.1.0. The flaw exists in the /api/model-config REST endpoints exposed by the ModelConfigController. Any authenticated user holding the ROLE_USER role can query /api/model-config/page or /api/model-config/{id} and retrieve unmasked large language model (LLM) provider API keys. The exposed credentials allow attackers to pivot into third-party LLM provider accounts, consume paid quota, and access sensitive model usage data. The vulnerability is remotely exploitable over the network and requires only low-privilege authentication.
Critical Impact
Authenticated low-privilege users can harvest cleartext LLM provider API keys, enabling account takeover and financial loss through unauthorized provider billing.
Affected Products
- EFAK (Eagle For Apache Kafka) 5.0.0
- EFAK (Eagle For Apache Kafka) 5.1.0
- All intermediate 5.x releases between 5.0.0 and 5.1.0
Discovery Timeline
- 2026-10-16 - CVE-2026-111682 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111682
Vulnerability Analysis
EFAK ships a model configuration module for integrating LLM providers into Kafka monitoring workflows. The ModelConfigController class exposes REST endpoints that return provider credentials in their full, unmasked form. The controller methods do not enforce role-based access checks, and the Spring Security configuration in WebSecurityConfig registers these routes under the generic authenticated matcher rather than restricting them to administrators.
Any account provisioned with ROLE_USER can invoke GET /api/model-config/page to enumerate configured providers or GET /api/model-config/{id} to retrieve a specific record. The JSON response includes the stored apiKey field in plaintext. Attackers who register, obtain, or compromise a low-privilege account gain direct access to OpenAI, Anthropic, or other LLM provider keys configured by administrators.
Root Cause
The root cause is missing authorization enforcement on administrative data. The controller lacks @PreAuthorize("hasRole('ADMIN')") annotations, and the security configuration treats /api/model-config/** as a general authenticated route. Sensitive credential fields are also returned without masking or redaction in the response DTO.
Attack Vector
Exploitation requires network access to the EFAK web interface and valid credentials for any user account. The attacker authenticates, then issues a standard HTTP GET request to the vulnerable endpoints. No special tooling, user interaction, or elevated privileges are needed. Harvested API keys are then used out-of-band against the LLM provider to consume paid resources or exfiltrate historical prompts and completions.
See the VulnCheck Advisory for EFAK and the vulnerable ModelConfigController source for the specific code paths involved.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-111682
Indicators of Compromise
- HTTP access log entries showing GET /api/model-config/page or GET /api/model-config/{id} originating from non-administrator session cookies.
- Unexpected LLM provider billing spikes or usage from unfamiliar IP addresses tied to API keys stored in EFAK.
- Enumeration patterns iterating through sequential {id} values on the model-config endpoint.
Detection Strategies
- Correlate web server access logs with authenticated session roles to flag ROLE_USER accounts touching /api/model-config/** paths.
- Deploy outbound monitoring for anomalous calls to LLM provider API endpoints from hosts other than the EFAK application server.
- Alert on bulk retrieval patterns against the model-config listing endpoint within short time windows.
Monitoring Recommendations
- Enable verbose audit logging on the EFAK Spring application and forward logs to a centralized SIEM for role-aware correlation.
- Rotate and monitor all LLM provider API keys configured in EFAK, watching provider dashboards for unauthorized usage.
- Review user account provisioning records to identify recently created or dormant ROLE_USER accounts.
How to Mitigate CVE-2026-111682
Immediate Actions Required
- Rotate every LLM provider API key currently stored in EFAK model configurations and invalidate the previous keys at the provider.
- Restrict network access to the EFAK web interface to trusted administrative networks until a patched version is deployed.
- Audit all EFAK user accounts and disable or remove non-essential ROLE_USER accounts.
- Review LLM provider billing and usage logs for the past 30 days to identify unauthorized consumption.
Patch Information
At the time of publication, no fixed version is referenced in the NVD advisory for CVE-2026-111682. Monitor the GitHub EFAK Repository for a release addressing the missing authorization check on ModelConfigController. Review the WebSecurityConfig source when assessing custom patches, and consult the HackMD EFAK User Management Guide for related administrative gating issues.
Workarounds
- Place a reverse proxy in front of EFAK that blocks /api/model-config/** requests unless the client presents an administrator session or token.
- Apply a local source patch adding @PreAuthorize("hasRole('ADMIN')") to ModelConfigController methods and rebuild the efak-web module.
- Remove LLM provider API keys from EFAK and manage them in an external secrets manager referenced only by backend services.
- Downgrade to an EFAK release prior to 5.0.0 if operational requirements permit.
# Example reverse proxy rule (nginx) blocking non-admin access
location /api/model-config/ {
if ($cookie_role != "ADMIN") {
return 403;
}
proxy_pass http://efak_backend;
}
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

