CVE-2026-126994: braindecode Model Config Deserialization util.py resolve_type_kwargs externally-controlled input to select classes or code
A vulnerability has been found in braindecode up to 1.8.1. Affected is the function resolvetypekwargs 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.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
braindecodeto a version that resolves this vulnerability.Fixed in 2.0.0Patch 05b764d93b9a50400f523206fbe03d73d0cf5edb
Event History
Frequently Asked Questions
Which deployments are affected?
braindecode versions up to and including 1.8.1 are affected when the Model Config Deserialization component processes the Activation argument through resolve_type_kwargs in braindecode/models/util.py.
What does an attacker need to exploit this issue?
The attack is remote and requires user interaction; no privileges are required. Exploitation involves manipulating the Activation argument to influence class or code selection during model configuration deserialization.
Is public exploitation information available?
Yes. The exploit has been publicly disclosed and may be used.
What should teams do if they are affected?
Upgrade the affected component to braindecode 2.0.0. The identified patch is 05b764d93b9a50400f523206fbe03d73d0cf5edb.