Search
Find a vulnerability
Search criteria
4 vulnerabilities found for HyperSpy by HyperSpy
CVE-2026-138118 (GCVE-0-2026-138118)
Vulnerability from nvd – Published: 2026-11-28 01:43 – Updated: 2026-11-28 01:43
VLAI
EPSS
VEX
Title
HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration
Summary
HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.
Severity
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
9 references
| URL | Tags |
|---|---|
| https://github.com/hyperspy/hyperspy/security/adv… | vendor-advisory |
| https://github.com/hyperspy/hyperspy/commit/6382a… | patch |
| https://github.com/hyperspy/hyperspy/commit/28fdf… | patch |
| https://github.com/hyperspy/hyperspy/releases/tag… | release-notes |
| https://github.com/hyperspy/hyperspy/issues/3699 | issue-tracking |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://www.vulncheck.com/advisories/hyperspy-1.4… | third-party-advisory |
Impacted products
Date Public
2026-11-27 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:pypi/hyperspy",
"product": "HyperSpy",
"repo": "https://github.com/hyperspy/hyperspy",
"vendor": "HyperSpy",
"versions": [
{
"lessThan": "2.6.0",
"status": "affected",
"version": "1.4.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Dilanka Kaushal Hewage"
},
{
"lang": "en",
"type": "finder",
"value": "hnwg"
}
],
"datePublic": "2026-11-27T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component\u0027s _class_dump or a \u0027fn\u0027-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-502",
"description": "Deserialization of Untrusted Data",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-28T01:43:08.379Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Security Advisory (GHSA-j975-x368-3hrr)",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/hyperspy/hyperspy/security/advisories/GHSA-j975-x368-3hrr"
},
{
"name": "Merge of PR #3704 (require trust for pickled model content)",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/6382ae0ff5b0000a7aad5dc2f4b997b1d8dccb09"
},
{
"name": "Require explicit trust to restore pickled model components",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/28fdf2d0320c76c5d57a57e323ac510b2005e13d"
},
{
"name": "HyperSpy v2.6.0 Release Notes",
"tags": [
"release-notes"
],
"url": "https://github.com/hyperspy/hyperspy/releases/tag/v2.6.0"
},
{
"name": "GitHub issue #3699",
"tags": [
"issue-tracking"
],
"url": "https://github.com/hyperspy/hyperspy/issues/3699"
},
{
"name": "reconstruct_component in model.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L106-L146"
},
{
"name": "Model._load_dictionary in model.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L645-L661"
},
{
"name": "reconstruct_object in export_dictionary.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/misc/export_dictionary.py#L187-L207"
},
{
"name": "VulnCheck Advisory: HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/hyperspy-1.4.0-before-2.6.0-insecure-deserialization-rce-via-stored-model-restoration"
}
],
"title": "HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-138118",
"datePublished": "2026-11-28T01:43:08.379Z",
"dateReserved": "2026-11-27T23:50:31.898Z",
"dateUpdated": "2026-11-28T01:43:08.379Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-138117 (GCVE-0-2026-138117)
Vulnerability from nvd – Published: 2026-11-28 01:43 – Updated: 2026-11-28 01:43
VLAI
EPSS
VEX
Title
HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files
Summary
HyperSpy from 1.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models.
Severity
CWE
- CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Assigner
References
9 references
| URL | Tags |
|---|---|
| https://github.com/hyperspy/hyperspy/security/adv… | vendor-advisory |
| https://github.com/hyperspy/hyperspy/commit/fe484… | patch |
| https://github.com/hyperspy/hyperspy/commit/973c9… | patch |
| https://github.com/hyperspy/hyperspy/releases/tag… | release-notes |
| https://github.com/hyperspy/hyperspy/issues/3699 | issue-tracking |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://www.vulncheck.com/advisories/hyperspy-bef… | third-party-advisory |
Impacted products
Date Public
2026-11-27 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:pypi/hyperspy",
"product": "HyperSpy",
"repo": "https://github.com/hyperspy/hyperspy",
"vendor": "HyperSpy",
"versions": [
{
"lessThan": "2.6.0",
"status": "affected",
"version": "1.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Dilanka Kaushal Hewage"
},
{
"lang": "en",
"type": "finder",
"value": "Nils Jordan"
}
],
"datePublic": "2026-11-27T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "HyperSpy from 1.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-95",
"description": "Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-28T01:43:09.488Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Security Advisory (GHSA-632c-gw75-99r3)",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/hyperspy/hyperspy/security/advisories/GHSA-632c-gw75-99r3"
},
{
"name": "Merge of PR #3703 (bounded expression parser)",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/fe484c936b9a1d425813e145298f9eeb1d83abf6"
},
{
"name": "fix(security): parse file-derived expressions with the bounded parser",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/973c9f9ce5937a022afe718f4f63c410eb96539e"
},
{
"name": "HyperSpy v2.6.0 Release Notes",
"tags": [
"release-notes"
],
"url": "https://github.com/hyperspy/hyperspy/releases/tag/v2.6.0"
},
{
"name": "GitHub issue #3699",
"tags": [
"issue-tracking"
],
"url": "https://github.com/hyperspy/hyperspy/issues/3699"
},
{
"name": "FunctionalDataAxis.__init__ in axes.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/axes.py#L1031-L1071"
},
{
"name": "_parse_substitutions in expression.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/_components/expression.py#L58-L66"
},
{
"name": "twin_function_expr setter in component.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/component.py#L205-L217"
},
{
"name": "VulnCheck Advisory: HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/hyperspy-before-2.6.0-code-execution-via-sympy-sympify-in-hspy-zspy-files"
}
],
"title": "HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-138117",
"datePublished": "2026-11-28T01:43:09.488Z",
"dateReserved": "2026-11-27T23:50:24.916Z",
"dateUpdated": "2026-11-28T01:43:09.488Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-138117 (GCVE-0-2026-138117)
Vulnerability from cvelistv5 – Published: 2026-11-28 01:43 – Updated: 2026-11-28 01:43
VLAI
EPSS
VEX
Title
HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files
Summary
HyperSpy from 1.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models.
Severity
CWE
- CWE-95 - Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Assigner
References
9 references
| URL | Tags |
|---|---|
| https://github.com/hyperspy/hyperspy/security/adv… | vendor-advisory |
| https://github.com/hyperspy/hyperspy/commit/fe484… | patch |
| https://github.com/hyperspy/hyperspy/commit/973c9… | patch |
| https://github.com/hyperspy/hyperspy/releases/tag… | release-notes |
| https://github.com/hyperspy/hyperspy/issues/3699 | issue-tracking |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://www.vulncheck.com/advisories/hyperspy-bef… | third-party-advisory |
Impacted products
Date Public
2026-11-27 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:pypi/hyperspy",
"product": "HyperSpy",
"repo": "https://github.com/hyperspy/hyperspy",
"vendor": "HyperSpy",
"versions": [
{
"lessThan": "2.6.0",
"status": "affected",
"version": "1.2.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Dilanka Kaushal Hewage"
},
{
"lang": "en",
"type": "finder",
"value": "Nils Jordan"
}
],
"datePublic": "2026-11-27T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "HyperSpy from 1.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-95",
"description": "Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-28T01:43:09.488Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Security Advisory (GHSA-632c-gw75-99r3)",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/hyperspy/hyperspy/security/advisories/GHSA-632c-gw75-99r3"
},
{
"name": "Merge of PR #3703 (bounded expression parser)",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/fe484c936b9a1d425813e145298f9eeb1d83abf6"
},
{
"name": "fix(security): parse file-derived expressions with the bounded parser",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/973c9f9ce5937a022afe718f4f63c410eb96539e"
},
{
"name": "HyperSpy v2.6.0 Release Notes",
"tags": [
"release-notes"
],
"url": "https://github.com/hyperspy/hyperspy/releases/tag/v2.6.0"
},
{
"name": "GitHub issue #3699",
"tags": [
"issue-tracking"
],
"url": "https://github.com/hyperspy/hyperspy/issues/3699"
},
{
"name": "FunctionalDataAxis.__init__ in axes.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/axes.py#L1031-L1071"
},
{
"name": "_parse_substitutions in expression.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/_components/expression.py#L58-L66"
},
{
"name": "twin_function_expr setter in component.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/component.py#L205-L217"
},
{
"name": "VulnCheck Advisory: HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/hyperspy-before-2.6.0-code-execution-via-sympy-sympify-in-hspy-zspy-files"
}
],
"title": "HyperSpy before 2.6.0 Code Execution via sympy.sympify() in HSPY/ZSPY Files",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-138117",
"datePublished": "2026-11-28T01:43:09.488Z",
"dateReserved": "2026-11-27T23:50:24.916Z",
"dateUpdated": "2026-11-28T01:43:09.488Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-138118 (GCVE-0-2026-138118)
Vulnerability from cvelistv5 – Published: 2026-11-28 01:43 – Updated: 2026-11-28 01:43
VLAI
EPSS
VEX
Title
HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration
Summary
HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.
Severity
CWE
- CWE-502 - Deserialization of Untrusted Data
Assigner
References
9 references
| URL | Tags |
|---|---|
| https://github.com/hyperspy/hyperspy/security/adv… | vendor-advisory |
| https://github.com/hyperspy/hyperspy/commit/6382a… | patch |
| https://github.com/hyperspy/hyperspy/commit/28fdf… | patch |
| https://github.com/hyperspy/hyperspy/releases/tag… | release-notes |
| https://github.com/hyperspy/hyperspy/issues/3699 | issue-tracking |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://github.com/hyperspy/hyperspy/blob/v2.5.0/… | technical-description |
| https://www.vulncheck.com/advisories/hyperspy-1.4… | third-party-advisory |
Impacted products
Date Public
2026-11-27 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:pypi/hyperspy",
"product": "HyperSpy",
"repo": "https://github.com/hyperspy/hyperspy",
"vendor": "HyperSpy",
"versions": [
{
"lessThan": "2.6.0",
"status": "affected",
"version": "1.4.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Dilanka Kaushal Hewage"
},
{
"lang": "en",
"type": "finder",
"value": "hnwg"
}
],
"datePublic": "2026-11-27T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component\u0027s _class_dump or a \u0027fn\u0027-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 8.5,
"baseSeverity": "HIGH",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-502",
"description": "Deserialization of Untrusted Data",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-28T01:43:08.379Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Security Advisory (GHSA-j975-x368-3hrr)",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/hyperspy/hyperspy/security/advisories/GHSA-j975-x368-3hrr"
},
{
"name": "Merge of PR #3704 (require trust for pickled model content)",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/6382ae0ff5b0000a7aad5dc2f4b997b1d8dccb09"
},
{
"name": "Require explicit trust to restore pickled model components",
"tags": [
"patch"
],
"url": "https://github.com/hyperspy/hyperspy/commit/28fdf2d0320c76c5d57a57e323ac510b2005e13d"
},
{
"name": "HyperSpy v2.6.0 Release Notes",
"tags": [
"release-notes"
],
"url": "https://github.com/hyperspy/hyperspy/releases/tag/v2.6.0"
},
{
"name": "GitHub issue #3699",
"tags": [
"issue-tracking"
],
"url": "https://github.com/hyperspy/hyperspy/issues/3699"
},
{
"name": "reconstruct_component in model.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L106-L146"
},
{
"name": "Model._load_dictionary in model.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/model.py#L645-L661"
},
{
"name": "reconstruct_object in export_dictionary.py (v2.5.0)",
"tags": [
"technical-description"
],
"url": "https://github.com/hyperspy/hyperspy/blob/v2.5.0/hyperspy/misc/export_dictionary.py#L187-L207"
},
{
"name": "VulnCheck Advisory: HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/hyperspy-1.4.0-before-2.6.0-insecure-deserialization-rce-via-stored-model-restoration"
}
],
"title": "HyperSpy 1.4.0 before 2.6.0 Insecure Deserialization RCE via Stored Model Restoration",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-138118",
"datePublished": "2026-11-28T01:43:08.379Z",
"dateReserved": "2026-11-27T23:50:31.898Z",
"dateUpdated": "2026-11-28T01:43:08.379Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}