CVE-2026-76843: Deserialization of Untrusted Data in flairNLP flair
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.
CVSS v4.0
Score 8.4high
Affected software
flairNLP
flair
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability resides in flairNLP flair versions 0.15.0 and 0.15.1 in the flair/models/clustering.py file. The ClusteringModel.load static method uses pickle.loads(joblib.load(str(model_file))) to load model files, which can execute arbitrary Python code during deserialization. Although clustering support was dropped from the documented API in 0.15.0, the clustering.py module remains in the distributed package and can be imported directly, making the vulnerability still exploitable. This is the same code path as CVE-2024-10073, but the previous fix was ineffective because the vulnerable code was not removed from the distributed artifact. No official remediation or patch is currently documented.
Potential Impact
An attacker who can supply a malicious model file to be loaded by the ClusteringModel.load method can execute arbitrary Python code with the privileges of the process loading the model. This can lead to full compromise of the environment running the flair library. The vulnerability is local vector (AV:L) with low attack complexity but requires user interaction. The impact includes high confidentiality, integrity, and availability consequences due to arbitrary code execution.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-19T20:34:19.724Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8c45b3acd9273b49946347
Added to database: 08/24/2026, 13:22:59 UTC
Last enriched: 09/10/2026, 11:07:31 UTC
Last updated: 10/07/2026, 06:48:18 UTC
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.