CVE-2026-126994 Details
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.
A vulnerability exists in Braindecode versions prior to 1.8.1, specifically within the 'resolve_type_kwargs' function of 'braindecode/models/util.py'. This issue arises in the Model Config Deserialization component, where improper handling of the 'Activation' argument allows remote attackers to inject and execute arbitrary code. The vulnerability is exploited by crafting a 'config.json' file that directs the application to import and invoke a specified module or function, leveraging the application's permissions to execute the code. This exploitation occurs during the model loading process, creating a significant security risk.
Users should upgrade to Braindecode version 2.0.0, which addresses this vulnerability by implementing proper validation of the 'Activation' argument before it can be exploited.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2026CISA-ADP
Assessed Nov 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/braindecode/braindecode/ | [email protected] | ProductVendor |
| https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edb | [email protected] | Source CodeVendor |
| https://github.com/braindecode/braindecode/issues/1441 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/braindecode/braindecode/pull/1494 | [email protected] | Issue TrackingVendor |
| https://github.com/braindecode/braindecode/releases/tag/v2.0.0 | [email protected] | Release NotesVendor |
| https://github.com/user-attachments/files/33599402/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-126994 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1040635 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/436293 | [email protected] | Permission Required |
| https://vuldb.com/vuln/436293/cti | [email protected] | Permission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-470 | Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| braindecode | >= 1.4.0, <= 1.8.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 12, 2026 | CVE Modified | CISA-ADP |
| Nov 12, 2026 | New CVE Received | [email protected] |
Volerion