🟠 High  |  Source: Microsoft Security Response Center


CVE-2026-34181 is a vulnerability in which PKCS#12 certificate files using the PBMAC1 MAC scheme are accepted even when configured with excessively short HMAC keys. Short HMAC keys weaken the integrity protection on PKCS#12 containers, potentially allowing an attacker to tamper with or forge certificate bundles without detection. This is particularly relevant to Azure services and applications that import or process PKCS#12 files for TLS certificates or authentication credentials.

Security Architect’s Take: Audit your pipelines and services that ingest PKCS#12 files — particularly in Azure Key Vault imports and any CI/CD certificate workflows — to ensure HMAC key length requirements are enforced at the point of creation and ingestion. Apply available Microsoft patches promptly and consider adding validation controls that reject PKCS#12 files with weak MAC configurations.

Original advisory: CVE-2026-34181 PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys