Externally-controlled input selects code in braindecode model config
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
braindecode versions 1.8.0 and 1.8.1 are affected. In the Model Config Deserialization component, the resolve_type_kwargs function in braindecode/models/util.py uses externally controlled input to select classes or code (CWE-470) through the activation argument. A remote attacker can trigger this without privileges, though it requires user interaction. A public exploit has been disclosed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | braindecode | 1.8.0; 1.8.1 | 2.0.0 | Patch available | CNA |
- braindecode Vendor— Affected 1.8.0; 1.8.1 Fixed in 2.0.0 Patch available CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:braindecode:braindecode:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:braindecode:braindecode:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
Upgrade braindecode to version 2.0.0, which fixes the issue through patch 05b764d.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA braindecode Fixed in 2.0.0
Timeline
- 2026-11-12 Threatist record created from CVE-2026-126994
- 2026-11-12 Alias added: GHSA-c3h9-q839-4w8h
- 2026-11-12 CISA SSVC decision points changed
References
Patch 3
Sources
- CVE-2026-126994 · CVE Program
- CVE-2026-126994 · NVD
- FIRST EPSS
- GHSA-c3h9-q839-4w8h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences