CVE-2026-86020
Part-DB: Spreadsheet Formula Injection in XLSX Part Exports
Medium 4.6
Part-DB is an open source inventory management system for electronic components. Prior to version 2.13.2, Part-DB contains a spreadsheet formula injection vulnerability in the part import/export workflow. An authenticated user with permission to import parts can import a CSV file containing formula-prefixed values, such as =1+1, into user-controlled part fields. When the affected part is later exported as an XLSX spreadsheet, Part-DB writes the attacker-controlled value using PhpSpreadsheet's setCellValue() method without neutralising spreadsheet formula characters. As a result, the exported XLSX file contains an executable spreadsheet formula cell rather than a plain text value. If another user exports and opens the spreadsheet, the formula may be evaluated by their spreadsheet software. This issue has been patched in version 2.13.2.
GitHub_M
2026-10-23
2026-10-23
2026-09-04
Scores
| Source | CVSS | Score | Severity | Vector |
|---|---|---|---|---|
| GitHub_M | 3.1 | 4.6 | Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Weaknesses
Affected
| Vendor | Product | Versions |
|---|---|---|
| Part-DB | Part-DB-server | < 2.13.2 (affected) |
References
- https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-hxw4-frfg-f8jw x_refsource_CONFIRM
- https://github.com/Part-DB/Part-DB-server/releases/tag/v2.13.2 x_refsource_MISC
Full CVE JSON record (5.2)
{
"containers": {
"cna": {
"affected": [
{
"product": "Part-DB-server",
"vendor": "Part-DB",
"versions": [
{
"status": "affected",
"version": "\u003c 2.13.2"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Part-DB is an open source inventory management system for electronic components. Prior to version 2.13.2, Part-DB contains a spreadsheet formula injection vulnerability in the part import/export workflow. An authenticated user with permission to import parts can import a CSV file containing formula-prefixed values, such as =1+1, into user-controlled part fields. When the affected part is later exported as an XLSX spreadsheet, Part-DB writes the attacker-controlled value using PhpSpreadsheet\u0027s setCellValue() method without neutralising spreadsheet formula characters. As a result, the exported XLSX file contains an executable spreadsheet formula cell rather than a plain text value. If another user exports and opens the spreadsheet, the formula may be evaluated by their spreadsheet software. This issue has been patched in version 2.13.2."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 4.6,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20: Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-1236",
"description": "CWE-1236: Improper Neutralization of Formula Elements in a CSV File",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-23T04:05:24.420Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-hxw4-frfg-f8jw",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-hxw4-frfg-f8jw"
},
{
"name": "https://github.com/Part-DB/Part-DB-server/releases/tag/v2.13.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/Part-DB/Part-DB-server/releases/tag/v2.13.2"
}
],
"source": {
"advisory": "GHSA-hxw4-frfg-f8jw",
"discovery": "UNKNOWN"
},
"title": "Part-DB: Spreadsheet Formula Injection in XLSX Part Exports"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-86020",
"datePublished": "2026-10-23T04:05:24.420Z",
"dateReserved": "2026-09-04T19:23:40.691Z",
"dateUpdated": "2026-10-23T04:05:24.420Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}