CVE-2026-76843
The official Flair wheels for 0.15.0 and 0.15.1 still contain …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/flairNLP/flair
- github.com/flairNLP/flair/blob/v0.15.1/flair/models/clustering.py
- pypi.org/project/flair/0.15.1/
- www.vulncheck.com/advisories/flair-and-deserialization-of-untrusted-data-via-clusteringmod
- github.com/flairNLP/flair/blob/v0.14.0/flair/models/clustering.py
- nvd.nist.gov/vuln/detail/CVE-2026-76843
- cve.org/CVERecord?id=CVE-2026-76843
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.