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-105941 Overview
CVE-2026-105941 is a Server-Side Request Forgery (SSRF) vulnerability in the Azure Key Vault Key Management Service (KMS) provider shipped with Kroxylicious, a Kafka protocol proxy. The provider accepts an attacker-controlled vaultName field extracted from wire-deserialized Encrypted Data Encryption Key (EDEK) bytes without validating its format. An authenticated attacker can craft a malicious EDEK that redirects outbound token-bearing requests to a host they control. The proxy then transmits its Azure bearer token to that host, allowing the attacker to replay the token against the legitimate Azure Key Vault and defeat the record-encryption trust model. The weakness is tracked under CWE-918: Server-Side Request Forgery.
Critical Impact
Exfiltration of the Kroxylicious proxy's Azure bearer token enables an attacker to impersonate the proxy against Azure Key Vault, breaking confidentiality and integrity of encrypted Kafka records.
Affected Products
- Kroxylicious Kafka proxy with the Azure Key Vault KMS provider enabled
- kroxylicious-kms-provider-azure-key-vault-kms module
- Red Hat distributions tracking CVE-2026-105941
Discovery Timeline
- 2026-10-20 - CVE-2026-105941 published to the National Vulnerability Database (NVD)
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-105941
Vulnerability Analysis
Kroxylicious uses the Azure Key Vault KMS provider to wrap and unwrap Data Encryption Keys (DEKs) used for encrypting Kafka record payloads. Each EDEK carries metadata including a vaultName string that identifies the target Azure Key Vault instance. The provider deserializes this metadata from the wire and concatenates it directly into the Key Vault URL used for outbound HTTPS requests. Because the proxy performs no format validation on vaultName, an attacker who can submit crafted EDEKs can influence the destination host of the subsequent request. That request carries the proxy's Azure bearer token in the Authorization header.
Root Cause
The keyVaultUrl(String vaultName) method in AzureKeyVaultConfig.java built the base URL by concatenating vaultName with the configured keyVaultHost without any character-set or syntax validation. Malicious values such as hosts containing @, /, or additional subdomain separators could reparent the URL authority to an attacker-controlled domain. The upstream fix introduces an explicit validateKeyVaultName(vaultName) guard before URL construction.
Attack Vector
Exploitation requires network access to the proxy and low-privilege authenticated access sufficient to submit records whose EDEK metadata the provider will deserialize. The attacker encodes a hostile vaultName into an EDEK, waits for the proxy to resolve it, and captures the forwarded bearer token on their listener. The token can then be replayed against the real Azure Key Vault to unwrap DEKs and decrypt protected records.
* @return the base URL for the vault, without a trailing slash.
*/
public String keyVaultUrl(String vaultName) {
+ validateKeyVaultName(vaultName);
String host = vaultName + "." + keyVaultHost;
String portSpec = keyVaultPort() == null ? "" : ":" + keyVaultPort();
return kvScheme() + "://" + host + portSpec;
Source: GitHub commit aa1b02a. The patch adds a validateKeyVaultName call that rejects any vaultName not matching the Azure naming rules before it reaches URL construction.
Detection Methods for CVE-2026-105941
Indicators of Compromise
- Outbound HTTPS connections from the Kroxylicious proxy to hostnames that do not match the configured Azure Key Vault domain (*.vault.azure.net or the deployment's keyVaultHost).
- DNS queries from the proxy for unexpected or recently registered domains correlated with EDEK unwrap operations.
- Authorization: Bearer headers observed on egress captures to non-Azure endpoints.
- Kroxylicious logs showing vaultName values containing /, @, ., or other URL-authority metacharacters.
Detection Strategies
- Monitor outbound traffic from Kroxylicious hosts and alert on destinations outside an allowlist of Azure Key Vault FQDNs.
- Parse proxy audit logs for KMS unwrap failures or anomalous vaultName strings and correlate them with originating Kafka clients.
- Enable Azure Key Vault diagnostic logs and alert on token use from unexpected source IPs that may indicate replay.
Monitoring Recommendations
- Baseline the proxy's egress destinations and apply drift detection to flag new domains.
- Forward Kroxylicious and Azure Key Vault logs into a centralized SIEM for cross-correlation of unwrap attempts and token usage.
- Rotate and short-scope the Azure bearer token used by the proxy to shrink the replay window.
How to Mitigate CVE-2026-105941
Immediate Actions Required
- Upgrade Kroxylicious to a release that includes commit aa1b02a5f8e5bb5003f88b3160a811019cd11139 adding validateKeyVaultName.
- Rotate the Azure service principal credentials and bearer tokens used by the proxy's Azure Key Vault KMS provider.
- Restrict the proxy's outbound network egress to the specific Azure Key Vault FQDN using a firewall or egress proxy allowlist.
- Review historical EDEK metadata and proxy egress logs for evidence of exploitation.
Patch Information
The fix is published in the Kroxylicious repository. See the GitHub Security Advisory GHSA-5j25-p663-ww5r, the Red Hat CVE-2026-105941 advisory, and the Red Hat Bug Report #2510876. Apply the upstream patch that validates vaultName against Azure Key Vault naming rules before URL construction.
Workarounds
- Enforce strict outbound egress policy on the proxy host so only the known Azure Key Vault hostname and port can be reached.
- Terminate the proxy's outbound Azure Key Vault traffic through a forward proxy that validates the destination host against an allowlist.
- Reduce the lifetime and scope of the Azure bearer token issued to the proxy to limit the value of a replayed token.
# Example egress allowlist enforced via iptables on the Kroxylicious host
iptables -A OUTPUT -p tcp -d <vault-name>.vault.azure.net --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 443 -j REJECT
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

