Advisory

PYSEC-2026-1376

Also known as: CVE-2024-10073, GHSA-9rw2-jf8x-cgwm

Summary

Flair allows arbitrary code execution

Details

A vulnerability, which was classified as critical, was found in flairNLP flair 0.14.0. Affected is the function ClusteringModel of the file flair\models\clustering.py of the component Mode File Loader. The manipulation leads to code injection. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Severity

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

flair

PyPI · All systems

Affected

  • introduced 0, fixed 0.15.0 (ecosystem)

Fixed versions

0.15.0

Fix

  • Fixed version 0.15.0
    pip install --upgrade flair==0.15.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences