CVE-2026-108947 Details
Description
A flaw has been found in yoshitomo-matsubara torchdistill up to 1.1.5. This affects the function load_ckpt of the file torchdistill/common/main_util.py. Executing a manipulation of the argument src_ckpt can lead to deserialization. The attack needs to be launched locally. The exploit has been published and may be used. The project maintainer explains: "This is very similar to an internal report that GH auto-generated for the owner before, which I found tolerable for this project at that time. So I will close this as duplicate."
A vulnerability exists in the torchdistill framework, specifically in versions up to 1.1.5, within the load_ckpt function of main_util.py. This flaw allows for arbitrary code execution through a deserialization vulnerability. The issue arises because the function loads local checkpoint files with the pickle deserializer re-enabled, creating an opportunity for malicious payloads to be executed. The vulnerability can be exploited by crafting a checkpoint file that includes a reduce method payload, which is then loaded by torchdistill using a user-specified YAML configuration. The problem is exacerbated by the fact that the checkpoint loading process does not verify the integrity or ownership of the files, leaving room for exploitation.
The vulnerability can be addressed by modifying the load_ckpt function to use the secure default for deserialization, which only loads weights and tensors, and by implementing checks for legacy files that may need to be re-saved with a trusted writer.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 13, 2026CISA-ADP
Assessed Oct 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yoshitomo-matsubara/torchdistill/ | [email protected] | ProductSource CodeVendor |
| https://github.com/yoshitomo-matsubara/torchdistill/issues/550 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/yoshitomo-matsubara/torchdistill/issues/550#issuecomment-5826644846 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-108947 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/997819 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/416771 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/416771/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yoshitomo-matsubara torchdistill | <= 1.1.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2026 | New CVE Received | [email protected] |
Volerion