Description
SpeechBrain before 1.1.1 contains an arbitrary code execution vulnerability that allows attackers to execute arbitrary code by supplying a crafted CKPT.yaml checkpoint metadata file parsed with PyYAML's unsafe loader during candidate enumeration in Checkpointer.recover_if_possible(). Attackers can embed malicious Python object construction tags such as !!python/object/apply in any CKPT.yaml file within the configured checkpoint path to trigger code execution during candidate discovery, even if the malicious checkpoint is never selected for recovery.
Published: 2026-08-27
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SpeechBrain before version 1.1.1 allows an attacker who can supply a crafted CKPT.yaml file to execute arbitrary code during candidate enumeration. The vulnerability arises from parsing the checkpoint metadata with PyYAML’s unsafe loader, which interprets YAML tags that can instantiate Python objects. Tags such as !!python/object/apply let an attacker embed malicious code that runs when the file is read, even if the checkpoint is never selected for recovery.

Affected Systems

The affected product is SpeechBrain from the vendor speechbrain. Any installation using a version older than 1.1.1 is vulnerable. The vulnerability is tied to the CKPT.yaml parser used during recovery and enumeration of checkpoints under the configured checkpoint path.

Risk and Exploitability

The CVSS score of 8.7 classifies this flaw as a high‑severity vulnerability. The EPSS score is not available, so the current exploitation probability is unknown, but the lack of a KEV listing does not diminish the potential impact. Because the vulnerability triggers during file parsing, an attacker would need the ability to place a malicious CKPT.yaml in the checkpoint directory, which could be achieved if the application accepts untrusted input or if the server’s file system is writable by a non‑trusted user. Once such a file is read, arbitrary code will execute with the privileges of the running process.

Generated by OpenCVE AI on August 28, 2026 at 05:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SpeechBrain to version 1.1.1 or later to obtain the fixed CKPT.yaml parser.
  • Restrict write access to the checkpoint directory so that only trusted users or processes can create or modify CKPT.yaml files.
  • If upgrading immediately is not possible, remove any untrusted CKPT.yaml files from the checkpoint path and disable or limit recovery candidate enumeration so that unsafe parsing is not performed.

Generated by OpenCVE AI on August 28, 2026 at 05:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description SpeechBrain before 1.1.1 contains an arbitrary code execution vulnerability that allows attackers to execute arbitrary code by supplying a crafted CKPT.yaml checkpoint metadata file parsed with PyYAML's unsafe loader during candidate enumeration in Checkpointer.recover_if_possible(). Attackers can embed malicious Python object construction tags such as !!python/object/apply in any CKPT.yaml file within the configured checkpoint path to trigger code execution during candidate discovery, even if the malicious checkpoint is never selected for recovery.
Title SpeechBrain < 1.1.1 Arbitrary Code Execution via CKPT.yaml Parsing
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-27T19:36:57.357Z

Reserved: 2026-05-28T19:06:39.240Z

Link: CVE-2026-10036

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:02.130

Modified: 2026-08-27T20:17:02.130

Link: CVE-2026-10036

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T05:45:04Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data