Skip to main content

braindecode EUVDEUVD-2026-120483

| CVE-2026-124999 LOW
Path Traversal (CWE-22)
2026-11-09 VulDB GHSA-fgc8-5j54-vx6q
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply attacker-controlled filename to _from_pretrained
  2. Exploit
    Filename used to build weights path unchecked
  3. Execution
    Path resolves outside model directory
  4. Impact
    Load/read file outside intended location

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim application to invoke EEGModuleMixin._from_pretrained (the Hub Integration model-loading path in braindecode/models/base.py) with an attacker-influenced 'filename' argument containing traversal components; the fix diff shows the pre-2.0.0 code passed this filename through to build the weights path without rejecting absolute paths, backslashes, drive letters, or '..' segments. Limiting factors: the CVSS vector sets UI:P, so the victim must initiate the model-load operation, and exploitation depends on the attacker being able to control or influence the filename/model reference that is loaded; it is not a continuous unauthenticated remote service exposure. Affected versions are braindecode up to 1.8.2; version 2.0.0 adds filename validation and a containment check that rejects paths resolving outside the model directory.

Impact

This is a medium-severity (CVSS 4.0 base 5.3) path traversal (CWE-22) in braindecode's Hub Integration, where the attacker-influenced 'filename' argument to EEGModuleMixin._from_pretrained is used to build a weights path without validation. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L) signals network reach with no privileges but REQUIRES user interaction (UI:P) - the victim must initiate a model load - and the vendor rates all three impacts only Low, consistent with loading/reading a file outside the intended model directory rather than straight remote code execution. The E:P (Proof-of-Concept) exploit-maturity field and the listed github-poc reference are consistent with the input: a public PoC reference exists but is not verified as working exploit code. There is no EPSS score and no CISA KEV entry in the provided data, and the vuln.today Decision label is 'this_month' (not act_now/emergency), so this should be scheduled remediation rather than an emergency. Note a tension worth verifying: the description says 'attack can be executed remotely' and the CVSS is AV:N, yet the mechanism is manipulation of a filename passed to a local model-loading call, so real-world exploitation hinges on getting a victim to load a model with an attacker-chosen filename/reference - assess exposure against how your applications feed that argument.

Exploit ScenarioDerived

An attacker publishes or otherwise supplies a model reference whose 'filename' contains traversal sequences; when a victim application calls EEGModuleMixin._from_pretrained with that attacker-influenced value, the loader resolves a path outside the intended model directory. A public PoC reference exists but is not verified as working exploit code, and exploitation depends on the victim initiating the load (UI:P).

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Path traversal in braindecode through version 1.8.2 allows an attacker who can influence the 'filename' argument passed to EEGModuleMixin._from_pretrained (the Hub Integration loading path in braindecode/models/base.py) to escape the intended model directory and reference files outside the model folder. The CVSS 4.0 base score is 5.3 (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), and the vector's UI:P means the victim application must initiate the model-load operation rather than being exposed continuously; impact is limited to low confidentiality, integrity and availability effects within the victim's own security scope. A public PoC reference exists; it is not verified as working exploit code, and no confirmed active exploitation (CISA KEV) or EPSS data was supplied, which places the issue at a 'this_month' priority rather than an emergency.

RemediationAI

Upgrade braindecode to version 2.0.0, which adds _validate_weights_filename and _local_weights_path so that filenames containing '..', absolute paths, drive letters, backslashes or NUL bytes are rejected and any resolved weights path must stay inside the model directory; the corresponding fix is upstream PR https://github.com/braindecode/braindecode/pull/1494, commit 05b764d93b9a50400f523206fbe03d73d0cf5edb, and release https://github.com/braindecode/braindecode/releases/tag/v2.0.0 (vendor advisory context at https://github.com/braindecode/braindecode/issues/1440). The supplied sources describe no workaround other than upgrading; because exploitation requires the victim application to load a model using a filename or model reference that the attacker can influence, interim risk reduction depends on ensuring that the 'filename' argument to EEGModuleMixin._from_pretrained and any model identifier reaching the Hub integration come from trusted, allow-listed values rather than user input, with the trade-off that this restricts dynamic or user-supplied model sourcing.

Affected VersionsENISA

braindecode 1.8.1
braindecode 1.8.2
braindecode 1.8.0

Affected Packages

euvd braindecode no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-22 path traversal inside braindecode's Hugging Face Hub integration. In the pre-2.0.0 code, _from_pretrained accepted a caller-supplied 'filename' and, when loading weights, temporarily overwrote huggingface_hub.constants.SAFETENSORS_SINGLE_FILE with that value and built a local weights path from Path(model_id) / filename without any validation. Because the string was never checked, an attacker-influenced value containing '..' segments, an absolute path, a Windows drive letter, backslashes or NUL bytes could resolve to a location outside the model directory, and the patch notes that symlinks pointing outside the folder were also a concern. The upstream fix (PR #1494, commit 05b764d93b9a50400f523206fbe03d73d0cf5edb, released as v2.0.0) introduces _validate_weights_filename, which rejects non-string or empty input, NUL bytes, backslashes, absolute POSIX paths, Windows drive prefixes, and empty, '.' or '..' path segments, and _local_weights_path, which resolves the candidate path and enforces it stays relative to the resolved model root. The same patch replaces the global huggingface_hub constant override with an explicit hf_hub_download call for remote repos and relocates the config type import to a resolve_config_type helper; affected deployments are identified by the CPE cpe:2.3:a:n/a:braindecode:*:*:*:*:*:*:*:*.

Know when Braindecode gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 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
vuln.today AI 6.3 MEDIUM

Attacker-influenced filename reaches the loader over the network (AV:N) with no privileges (PR:N) but the victim must trigger the model load (UI:R); traversal yields limited file read/write impact (C/I/A:L).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Nov 10, 2026 - 00:07 NVD
MEDIUM LOW
CVSS changed
Nov 10, 2026 - 00:07 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Nov 09, 2026 - 22:00 cve.org
MEDIUM 5.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
niche Python EEG/deep-learning research library, not broad enterprise deployment
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy