Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
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
FAQ
What is CVE-2026-76843?
CVE-2026-76843 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ar...
How severe is CVE-2026-76843?
CVE-2026-76843 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-76843?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.