braindecode Model Config Deserialization util.py resolve_type_kwargs externally-controlled input to select classes or code
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 12, 2026
- Updated
- Nov 12, 2026
- Reserved
- Nov 12, 2026
Description
A vulnerability has been found in braindecode up to 1.8.1. Affected is the function resolve_type_kwargs of the file braindecode/models/util.py of the component Model Config Deserialization. Such manipulation of the argument Activation leads to use of externally-controlled input to select classes or code. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is 05b764d93b9a50400f523206fbe03d73d0cf5edb. The affected component should be upgraded.
| Product | Versions |
|---|---|
| braindecode n/a | 1.8.0 Affected1.8.1 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-470 Use of Externally-Controlled Input to Select Classes or Code
References
- VDB-436293 | braindecode Model Config Deserialization util.py resolve_type_kwargs externally-controlled input to select classes or codeVulnerability DatabaseTechnical Details
- VDB-436293 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-126994 | CVE Analysis and ReportThird-Party Advisory
- Submit #1040635 | braindecode 1.4.0 to 1.8.1 (commit adaa63a8ac7510d0976ee134f6a9ff8e916ef37d) Unsafe ReflectionThird-Party Advisory
- https://github.com/braindecode/braindecode/issues/1441Issue Tracker
- https://github.com/braindecode/braindecode/pull/1494Issue TrackerPatch
- https://github.com/user-attachments/files/33599402/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.