# CVE-2026-126994: braindecode Model Config Deserialization util.py resolve_type_kwargs externally-controlled input to select classes or code

Status: published. Published: 2026-11-12. Updated: 2026-11-12.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/braindecode/braindecode/pull/1494
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edb
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/braindecode/braindecode/releases/tag/v2.0.0

## Affected products and versions

- n/a / braindecode: 1.8.0 (affected); 1.8.1 (affected); 2.0.0 (unaffected). Source: CNA: VulDB

## Severity and prioritization

- CVSS 4.0: 5.3 (medium); CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P; source: CNA: VulDB

- CVSS 3.1: 6.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C; source: CNA: VulDB

- CVSS 3.0: 6.3 (medium); CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C; source: CNA: VulDB

- CVSS 2.0: 7.5 (high); AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C; source: CNA: VulDB

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-470

## Exploit evidence

- exploit: https://github.com/user-attachments/files/33599402/poc.zip (CNA: VulDB)

## References

- https://vuldb.com/vuln/436293 (CNA: VulDB; vdb-entry, technical-description)

- https://vuldb.com/vuln/436293/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-126994 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1040635 (CNA: VulDB; third-party-advisory)

- https://github.com/braindecode/braindecode/issues/1441 (CNA: VulDB; issue-tracking)

- https://github.com/braindecode/braindecode/pull/1494 (CNA: VulDB; issue-tracking, patch)

- https://github.com/user-attachments/files/33599402/poc.zip (CNA: VulDB; exploit)

- https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edb (CNA: VulDB; patch)

- https://github.com/braindecode/braindecode/releases/tag/v2.0.0 (CNA: VulDB; patch)

- https://github.com/braindecode/braindecode/ (CNA: VulDB; product)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-126994; retrieved 2026-11-12; source updated 2026-11-12

Revision: 5c644f46bdb2e202eb247d0f1b09942029d03d23b2049cf4e2659f766b119961

Canonical: https://y2.dev/cve/CVE-2026-126994

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.