Microsoft Qlib MLflowRecorder Deserialization of Untrusted Data – Remote Code Execution (CVE‑2026‑XXXX)
What It Is — The Zero Day Initiative advisory ZDI‑26‑850 (also cataloged as ZDI‑CAN‑32135) describes a remote‑code‑execution (RCE) flaw in Microsoft Qlib’s MLflowRecorder class. The defect stems from the component’s failure to validate data that is deserialized from an untrusted source. An attacker who can convince a victim to load a malicious page or open a crafted file triggers deserialization, which runs attacker‑controlled code in the context of the current user.
The CVSS v3.1 vector is AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, yielding a base score of 7.8 (High). Exploitation requires local network access (the attacker must be on the same LAN or otherwise reach the victim’s machine) and user interaction, but once triggered the impact is total confidentiality, integrity, and availability compromise.
Microsoft released a fix in Qlib v0.9.8 (GitHub release <https://github.com/microsoft/qlib/releases>) on the same day the advisory was published (2026‑11‑02). The patch updates the MLflowRecorder implementation to enforce strict type checks and to reject malformed payloads before deserialization.
Affected Products — Microsoft Qlib (all versions prior to v0.9.8). The vulnerability is confined to the MLflowRecorder class used for logging machine‑learning experiment metadata.
Why It Matters for Trust & Control Assurance — This flaw tests the control objective of secure coding and input validation. Demonstrating that you have evidence of secure‑development practices (code reviews, static analysis, and patch management) satisfies a single control that maps to many frameworks (e.g., NIST CSF Protect, ISO 27001 A.14.2, PCI DSS 6.5).
Recommended Actions
- Patch Immediately – Upgrade all Qlib installations to v0.9.8 or later. Verify the version via the package manifest or
qlib --version. - Validate Input Paths – Review any custom extensions that invoke MLflowRecorder. Ensure they enforce strict schema validation before deserialization.
- Enforce Least‑Privilege Execution – Run Qlib services under non‑admin accounts and apply OS‑level confinement (e.g., containers, AppArmor).
- Capture Evidence – Record the patch version, configuration changes, and any code‑review artifacts in your control‑evidence repository.
- Update CI/CD Gates – Add a rule to your pipeline that blocks builds containing the vulnerable class version and runs static‑analysis checks for insecure deserialization patterns.
- Monitor for Exploitation – Enable logging of deserialization attempts and set alerts for anomalous file or network activity targeting the MLflowRecorder endpoint.
Source: Zero Day Initiative advisory <http://www.zerodayinitiative.com/advisories/ZDI-26-850/>