speaches-ai speaches Pyannote Diarization Model Loading pyannote_diarization.py PyannoteDiarizationModelManager._load_fn externally-controlled input to select classes or code
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
A security vulnerability has been detected in speaches-ai speaches up to 0.9.0-rc.3. This vulnerability affects the function PyannoteDiarizationModelManager._load_fn of the file src/speaches/executors/pyannote_diarization.py of the component Pyannote Diarization Model Loading. The manipulation of the argument model leads to use of externally-controlled input to select classes or code. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. The feature was introduced in PR #628 (feat/switch to pyannote audio), merged as commit 870e1e16a73452496e99d49f759eabd692a8e0e0. The project was informed of the problem early through an issue report but has not responded yet.
Text from CVE List
Affected versions 4
- speachesaffected: 0.9.0-rc.0CVE List
- speachesaffected: 0.9.0-rc.1CVE List
- speachesaffected: 0.9.0-rc.2CVE List
- speachesaffected: 0.9.0-rc.3CVE List
References 7
- vuldb.com/cve/CVE-2026-112145Advisoryvia CVE List
- vuldb.com/submit/1013214Advisoryvia CVE List
- github.com/user-attachments/files/33028601/poc.zipExploitvia CVE List
- vuldb.com/vuln/422250Referencevia CVE List
- vuldb.com/vuln/422250/ctiReferencevia CVE List
- github.com/speaches-ai/speaches/issues/679Referencevia CVE List
- github.com/speaches-ai/speaches/Referencevia CVE List