---
id: CVE-2026-86020
title: 'Part-DB: Spreadsheet Formula Injection in XLSX Part Exports'
summary: >-
  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 permi…
severity: medium
cvss: 4.6
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-20
  - CWE-1236
vendor: Part-DB
product: Part-DB-server
affected:
  - Part-DB-server < 2.13.2
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T04:05:24.420Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-86020'
references:
  - url: >-
      https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-hxw4-frfg-f8jw
    label: >-
      https://github.com/Part-DB/Part-DB-server/security/advisories/GHSA-hxw4-frfg-f8jw
  - url: 'https://github.com/Part-DB/Part-DB-server/releases/tag/v2.13.2'
    label: 'https://github.com/Part-DB/Part-DB-server/releases/tag/v2.13.2'
tags:
  - cve.org
ingestedAt: '2026-10-23T05:16:21.504Z'
---

## Overview

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.

## Affected

- `Part-DB-server < 2.13.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
