braindecode Hub Integration base.py EEGModuleMixin._from_pretrained path traversal
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| braindecode n/a | 1.8.0 Affected1.8.1 Affected1.8.2 Affected2.0.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulDB | |
| 3.1 | 6.3 Medium | VulDB | |
| 3.0 | 6.3 Medium | VulDB | |
| 2.0 | 7.5 High | VulDB |
Weaknesses
- CWE-22 Path Traversal
References
- VDB-433167 | braindecode Hub Integration base.py EEGModuleMixin._from_pretrained path traversalVulnerability DatabaseTechnical Details
- VDB-433167 | CTI Indicators (IOB, IOC, TTP, IOA)Detection RuleSign-In Required
- CVE-2026-124999 | CVE Analysis and ReportThird-Party Advisory
- Submit #1040628 | braindecode 1.8.1 (commit adaa63a8ac7510d0976ee134f6a9ff8e916ef37d) Path TraversalThird-Party Advisory
- https://github.com/braindecode/braindecode/issues/1440Issue Tracker
- https://github.com/braindecode/braindecode/pull/1494Issue TrackerPatch
- https://github.com/user-attachments/files/33599273/poc.zipExploit
- https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edbPatch
- https://github.com/braindecode/braindecode/releases/tag/v2.0.0Patch
- https://github.com/braindecode/braindecode/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.