CVE-2026-76843: flairNLP flair · Deserialization of Untrusted Data
Affects flairNLP flairSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.4 High.
Data as of 21 Nov 2026, 17:35 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| flairNLPflair | Affected
| Fixed in– |
PyPIflairpkg:pypi/flairOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until an official fix is released, avoid loading untrusted or attacker-supplied model files using the ClusteringModel.load method. Consider removing or restricting access to the flair.models.clustering module if clustering functionality is not required. Monitor official flairNLP channels for updates and patches addressing this issue.
Description
CVE-2026-76843 is a high-severity vulnerability in flairNLP's flair library versions 0.15.0 and 0.15.1. The flaw exists in the flair/models/clustering.py module, where the ClusteringModel.load method deserializes model files using pickle.loads(joblib.load()), enabling arbitrary code execution if a malicious model file is loaded. Although clustering support was removed from the documented API in version 0.15.0, the vulnerable module remains present and accessible, invalidating the previous assumption that 0.15.0 was fixed. This vulnerability allows attackers to execute code with the privileges of the loading process when loading attacker-supplied models.
References
- github.com/flairNLP/flair (opens in a new tab)
- github.com/flairNLP/flair/blob/v0.15.1/flair/models/clustering.py (opens in a new tab)
- pypi.org/project/flair/0.15.1/ (opens in a new tab)
- vulncheck.com/advisories/flair-and-deserialization-of-untrusted-data-via-clusteringmodel-load (opens in a new tab)
- github.com/flairNLP/flair/blob/v0.14.0/flair/models/clustering.py (opens in a new tab)