PT-2026-80853 · Flairnlp+1 · Flair
CVSS v4.0
8.4
High
| Vector | AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Flair versions 0.15.0 through 0.15.1
Description
An issue exists in the
flair/models/clustering.py file where the ClusteringModel.load() static method uses pickle.loads() on a file loaded via joblib.load(). This allows for the execution of arbitrary Python code when a maliciously crafted model file is loaded, granting the attacker the privileges of the process performing the load.Recommendations
For versions 0.15.0 through 0.15.1, avoid importing
flair.models.clustering and do not use the ClusteringModel.load() function to load untrusted model files.Exploit
Fix
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Flair