Skip to content
CVE PROGRAM SOURCE RECORD8.4 High

CVE-2026-76843

Flair 0.15.0 and 0.15.1 Deserialization of Untrusted Data via ClusteringModel.load

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

flairNLP flair

Default version status: unaffected

  • 0.15.0 to ≤ 0.15.1affected

References