Read the docs

Path traversal in braindecode Hub Integration

Priority MEDIUM 57CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Versions 1.8.0, 1.8.1 and 1.8.2 of braindecode contain a path traversal flaw (CWE-22) in the Hub Integration component's EEGModuleMixin._from_pretrained function. Manipulating the filename argument lets an attacker reach paths outside the intended directory. The attack can be executed remotely and requires user interaction. A public exploit has been disclosed and is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00435 38th percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed braindecode: 2.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—braindecode1.8.0; 1.8.1; 1.8.22.0.0Patch availableCNA
  • braindecode Vendor— Affected 1.8.0; 1.8.1; 1.8.2 Fixed in 2.0.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:braindecode:braindecode:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:braindecode:braindecode:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

Upgrade braindecode to version 2.0.0, which contains patch 05b764d.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA braindecode Fixed in 2.0.0

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-124999
  2. 2026-11-10 Alias added: GHSA-fgc8-5j54-vx6q
  3. 2026-11-13 CISA SSVC decision points changed

References

Sources