# CVE-2026-124999: braindecode Hub Integration base.py EEGModuleMixin._from_pretrained path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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 to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-09T22:00:21.886Z
- Modified: 2026-11-13T14:17:51.367Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- braindecode: 1.8.0; 1.8.1; 1.8.2 (not affected: 2.0.0)

## Every score

- VulDB: 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`
- 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`
- 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`
- 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`

## References

- <https://github.com/user-attachments/files/33599273/poc.zip> (exploit)
- <https://vuldb.com/vuln/433167> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/433167/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-124999> (third-party-advisory)
- <https://vuldb.com/submit/1040628> (third-party-advisory)
- <https://github.com/braindecode/braindecode/issues/1440> (issue-tracking)
- <https://github.com/braindecode/braindecode/pull/1494> (issue-tracking, patch)
- <https://github.com/braindecode/braindecode/commit/05b764d93b9a50400f523206fbe03d73d0cf5edb> (patch)
- <https://github.com/braindecode/braindecode/releases/tag/v2.0.0> (patch)
- <https://github.com/braindecode/braindecode/> (product)

## Sources

- CVE List: [CVE-2026-124999](https://www.cve.org/CVERecord?id=CVE-2026-124999), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-124999](https://nvd.nist.gov/vuln/detail/CVE-2026-124999), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-124999 · Whole record: https://cve.day/CVE-2026-124999.json · Rebuilt by cve.day 2026-11-25T22:59:49.672Z
