← Terug naar overzicht

CVE-2026-76843 describes an arbitrary code execution vulnerability in the Flair NLP library versions 0.15.0 and 0.15.1. The vulnerability exists in flair/models/clustering.py, where the ClusteringModel.load static method uses pickle.loads(joblib.load()) to deserialize model files, enabling arbitrary Python code execution. Although clustering support was nominally dropped in version 0.15.0 (which was listed as the fix for the related CVE-2024-10073), the vulnerable module remains present in the distributed package and is directly importable via flair.models.clustering. An attacker who supplies a malicious model file can execute arbitrary code with the privileges of the loading process. This effectively invalidates the previously claimed fix in CVE-2024-10073, as the vulnerable code path persists in the shipped artifacts on PyPI.

Affected products

  • Flair NLP 0.15.0
  • Flair NLP 0.15.1

Related CVE's

  • CVE-2024-10073
  • CVE-2026-76843

Categories

  • Supply Chain & Dependencies
  • Web Technologies