Description
A security vulnerability has been detected in braindecode up to 1.8.2. This affects the function EEGModuleMixin._from_pretrained of the file braindecode/models/base.py of the component Hub Integration. Such manipulation of the argument filename leads to path traversal. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 2.0.0 mitigates this issue. The name of the patch is 05b764d93b9a50400f523206fbe03d73d0cf5edb. It is recommended to upgrade the affected component.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | braindecode | 1.8.0, 1.8.1, 1.8.2 | 2.0.0 |
References
- VDB-433167 | braindecode Hub Integration base.py EEGModuleMixin._from_pretrained path traversal vdb-entry technical-description
- VDB-433167 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- CVE-2026-124999 | CVE Analysis and Report third-party-advisory
- Submit #1040628 | braindecode 1.8.1 (commit adaa63a8ac7510d0976ee134f6a9ff8e916ef37d) Path Traversal third-party-advisory
- https://github.com/braindecode/braindecode/issues/1440 issue-tracking
- https://github.com/braindecode/braindecode/pull/1494 issue-tracking patch
- https://github.com/user-attachments/files/33599273/poc.zip exploit
- https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edb patch
- https://github.com/braindecode/braindecode/releases/tag/v2.0.0 patch
- https://github.com/braindecode/braindecode/ product