Skip to main content
EPSS 0.4%top 70%

CVE-2026-76843: Deserialization of Untrusted Data in flairNLP flair

0
High
Published: 08/24/2026 (08/24/2026, 13:12:00 UTC)
Source: CVE Database V5
Vendor/Project: flairNLP
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

flairNLP

flair

Affected versions
>=0.15.0 <=0.15.1
flair
pkg:pypi/flair
Affected versions
>=0.15.0 <=0.15.1

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

AILast updated: 09/10/2026, 11:07:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses