CVE-2026-108958 Details
Description
A weakness has been identified in TensorLayer up to 2.2.4. This affects the function load_hdf5_graph of the file tensorlayer/files/utils.py of the component HDF5 Loading. Executing a manipulation of the argument model_config can lead to deserialization. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
A deserialization vulnerability has been identified in TensorLayer versions through 2.2.4, specifically in the HDF5 loading component. The issue arises in the 'load_hdf5_graph' function, where the 'model_config' attribute is evaluated using Python's 'eval()' function. This flaw allows for arbitrary code execution, as any Python expression embedded in a .hdf5 model file is executed during the loading process, with the same privileges as the loading process. The vulnerability can be exploited remotely, and a public exploit is available.
Users are advised to update to the latest version of TensorLayer, where this vulnerability has been addressed. Instructions for updating can be found in the TensorLayer GitHub repository.
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 14, 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/tensorlayer/TensorLayer/ | [email protected] | ProductVendor |
| https://github.com/tensorlayer/TensorLayer/issues/1169 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-108958 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/997885 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/416777 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/416777/cti | [email protected] | AdvisoryContent 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 |
|---|---|
| TensorLayer | <= 2.2.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2026 | New CVE Received | [email protected] |
Volerion