What’s Vulnerable › Vulnerabilities
CVE-2026-76843: Flair 0.15.0 and 0.15.1 Deserialization of Untrusted Data via ClusteringModel.load
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-24 · updated 2026-10-12
- Weakness: CWE-502
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
- flairNLP flair: from 0.15.0 through 0.15.1
References
- https://github.com/flairNLP/flair
- https://github.com/flairNLP/flair/blob/v0.14.0/flair/models/clustering.py
- https://pypi.org/project/flair/0.15.1/
- https://www.vulncheck.com/advisories/flair-and-deserialization-of-untrusted-data-via-clusteringmodel-load
Get alerted when CVE-2026-76843 or the next vulnerability affects your stack