Vulnerability · Published Aug 24, 2026 · Assigned by VulnCheck
CVE-2026-76843Flair 0.15.0 and 0.15.1 Deserialization of Untrusted Data via ClusteringModel.load
High 7.8
In plain English
A high-severity unsafe deserialization in flair from flairNLP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-502 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/flairNLP/flair product
- 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.load third-party-advisory