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.
Published: 2026-11-09
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized file access through a path traversal flaw
Action: Apply Patch
AI Analysis

Impact

The flaw exists in the EEGModuleMixin._from_pretrained function of braindecode’s Hub Integration. The filename parameter is not properly validated, allowing an attacker to supply a crafted path that escapes the intended directory. If exploited, the malicious path can be used to read any file that the process can access, potentially exposing configuration files, secrets, or other sensitive data. The impact therefore is the ability to disclose information that should not be publicly available.

Affected Systems

Braindecode libraries released up to version 1.8.2 are affected. The patch that fixes the vulnerability is included in release 2.0.0. Administrators should verify that the component braindecode (cpe:2.3:a:braindecode:braindecode) is updated to at least v2.0.0 or later.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity; EPSS data is not available, and the vulnerability has not yet been listed in the CISA KEV catalog. The attack vector is remote – an attacker can trigger the flaw by invoking the vulnerable function from any exposed interface. If the code runs with elevated privileges, the risk can increase to higher impact, potentially enabling broader compromise. The lack of publicly documented exploits suggests the risk is moderate, but the path traversal flaw is common enough that it warrants prompt mitigation.

Generated by OpenCVE AI on November 9, 2026 at 23:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the braindecode library to version 2.0.0 or later, which includes the patch that removes the vulnerable path handling.
  • Validate or sanitize the filename argument passed to _from_pretrained, rejecting any path that contains directory traversal sequences such as '..' or absolute paths.
  • If an upgrade cannot be performed immediately, run the braindecode process with the least privilege necessary and restrict its file system access to a dedicated, limited directory to minimize the impact of a potential traversal.

Generated by OpenCVE AI on November 9, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title braindecode Hub Integration base.py EEGModuleMixin._from_pretrained path traversal
First Time appeared Braindecode
Braindecode braindecode
Weaknesses CWE-22
CPEs cpe:2.3:a:braindecode:braindecode:*:*:*:*:*:*:*:*
Vendors & Products Braindecode
Braindecode braindecode
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': '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'}

cvssV3_1

{'score': 6.3, 'vector': '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'}

cvssV4_0

{'score': 5.3, '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'}


Subscriptions

Braindecode Braindecode
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-11-09T22:00:21.886Z

Reserved: 2026-11-09T15:38:53.810Z

Link: CVE-2026-124999

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T23:30:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')