CVE-2026-76843
Flair 0.15.0 and 0.15.1 Deserialization of Untrusted Data via ClusteringModel.load
- State
- Published
- Severity
- 8.4 High
- Published
- Aug 24, 2026
- Updated
- Aug 28, 2026
- Reserved
- Aug 19, 2026
Description
The official Flair wheels for 0.15.0 and 0.15.1 still contain flair/models/clustering.py, whose ClusteringModel.load static method returns pickle.loads(joblib.load(str(model_file))) and so executes arbitrary Python while loading a model file. Loading a model supplied by an attacker therefore runs that attacker's code with the privileges of the loading process. This is the same sink and the same file as CVE-2024-10073, which records 0.15.0 as the fixed version on the basis that clustering support was dropped in that release; the module was removed from the documented API but remains present in the distributed artifact and reachable by importing flair.models.clustering directly, so the earlier record's fixed version does not hold for the shipped package.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.4 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
Affected Products
| Product | Versions |
|---|---|
flairflairNLP |
|
References
- https://github.com/flairNLP/flairproduct
- Vulnerable code: clustering.py (last git revision containing the file; still shipped in the 0.15.x wheels)technical-description
- https://pypi.org/project/flair/0.15.1/product
- VulnCheck Advisory: Flair 0.15.0 and 0.15.1 Deserialization of Untrusted Data via ClusteringModel.loadthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.