CVE-2026-76843: Deserialization of Untrusted Data in flairNLP flair
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.
AI Analysis
Technical Summary
The vulnerability exists in flairNLP flair versions 0.15.0 and 0.15.1 in the flair/models/clustering.py file. The static method ClusteringModel.load uses pickle.loads(joblib.load(str(model_file))) to load model files, which allows arbitrary code execution during deserialization of untrusted data. Despite the removal of clustering support from the documented API in 0.15.0, the vulnerable module remains present and importable, invalidating the earlier fix recorded in CVE-2024-10073. This flaw enables attackers to run arbitrary Python code with the privileges of the process loading the model file.
Potential Impact
An attacker who can supply a malicious model file to be loaded by the flair library can execute arbitrary Python code with the privileges of the loading process. This can lead to full compromise of the affected system or application context. The vulnerability is local vector with low complexity but requires user interaction to load a crafted model file. The impact on confidentiality, integrity, and availability is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. There is no official fix or patch currently documented. Users should avoid loading untrusted or unauthenticated model files with flair versions 0.15.0 and 0.15.1. Until an official fix is released, restrict usage of the clustering module or isolate the environment where models are loaded to minimize risk.
CVE-2026-76843: Deserialization of Untrusted Data in flairNLP flair
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 v4.0
Score 8.4high
Affected software
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 exists in flairNLP flair versions 0.15.0 and 0.15.1 in the flair/models/clustering.py file. The static method ClusteringModel.load uses pickle.loads(joblib.load(str(model_file))) to load model files, which allows arbitrary code execution during deserialization of untrusted data. Despite the removal of clustering support from the documented API in 0.15.0, the vulnerable module remains present and importable, invalidating the earlier fix recorded in CVE-2024-10073. This flaw enables attackers to run arbitrary Python code with the privileges of the process loading the model file.
Potential Impact
An attacker who can supply a malicious model file to be loaded by the flair library can execute arbitrary Python code with the privileges of the loading process. This can lead to full compromise of the affected system or application context. The vulnerability is local vector with low complexity but requires user interaction to load a crafted model file. The impact on confidentiality, integrity, and availability is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. There is no official fix or patch currently documented. Users should avoid loading untrusted or unauthenticated model files with flair versions 0.15.0 and 0.15.1. Until an official fix is released, restrict usage of the clustering module or isolate the environment where models are loaded to minimize risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-19T20:34:19.724Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8c45b3acd9273b49946347
Added to database: 08/24/2026, 13:22:59 UTC
Last enriched: 08/24/2026, 13:37:35 UTC
Last updated: 08/25/2026, 03:17:21 UTC
Views: 8
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.