PYSEC-2026-1376

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/flair/PYSEC-2026-1376.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-1376
Aliases
Published
2026-07-07T14:34:43.325495Z
Modified
2026-07-07T17:47:36.752173168Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
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.

References

Affected packages

PyPI / flair

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.15.0

Affected versions

0.*
0.1.1
0.2.1
0.3.0
0.3.1
0.3.2
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.5
0.5.1
0.6
0.6.0.post1
0.6.1
0.6.1.post1
0.7
0.8
0.8.0.post1
0.9
0.10
0.11
0.11.1
0.11.2
0.11.3
0.12
0.12.1
0.12.2
0.13.0
0.13.1
0.14.0

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/flair/PYSEC-2026-1376.yaml"