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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | braindecode | 1.8.0, 1.8.1 | 2.0.0 |
References
- VDB-436293 | braindecode Model Config Deserialization util.py resolve_type_kwargs externally-controlled input to select classes or code vdb-entry technical-description
- VDB-436293 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-126994 | CVE Analysis and Report third-party-advisory
- Submit #1040635 | braindecode 1.4.0 to 1.8.1 (commit adaa63a8ac7510d0976ee134f6a9ff8e916ef37d) Unsafe Reflection third-party-advisory
- https://github.com/braindecode/braindecode/issues/1441 issue-tracking
- https://github.com/braindecode/braindecode/pull/1494 issue-tracking patch
- https://github.com/user-attachments/files/33599402/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