CVE-2026-86020

Part-DB: Spreadsheet Formula Injection in XLSX Part Exports

State
Published
Severity
4.6 Medium
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Sep 4, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.14.6 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-1236 Improper Neutralization of Formula Elements in a CSV File

Affected Products

ProductVersions
Part-DB-serverPart-DB
  • < 2.13.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.