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.
Published: 2026-10-23
Score: 4.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Spreadsheet Formula Injection
Action: Apply Patch
AI Analysis

Impact

Part‑DB includes a spreadsheet formula injection flaw in its part import/export workflow. An attacker with import privileges can place formula‑prefixed values such as =1+1 in a CSV file. When the tolerant CSV is later exported to XLSX, the application writes the raw value into the spreadsheet cell using PhpSpreadsheet’s setCellValue() without sanitizing formula characters. The resulting XLSX contains an executable formula cell, and if another user opens the file the spreadsheet software will evaluate the formula. This can reveal sensitive data, cause incorrect calculations, or serve as a vector for drive‑by code execution within the spreadsheet environment.

Affected Systems

The vulnerability is present in Part‑DB:Part‑DB‑server for all releases prior to version 2.13.2. Users of earlier releases should upgrade to 2.13.2 or later to receive the fix.

Risk and Exploitability

The CVSS score of 4.6 indicates a moderate severity. EPSS is not available, and the issue is not listed in the CISA KEV catalog. The attack requires an authenticated user with permission to import parts and a second user who later opens the exported XLSX. The risk is moderate because the attacker cannot directly gain control of the server but can influence the content evaluated by a victim’s spreadsheet application.

Generated by OpenCVE AI on October 23, 2026 at 05:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Part‑DB 2.13.2 or later.
  • Restrict part import permissions to trusted accounts only.
  • Ensure spreadsheet applications are configured to disable automatic formula evaluation or treat uploaded spreadsheets with caution.

Generated by OpenCVE AI on October 23, 2026 at 05:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 23 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Part-db
Part-db part-db
Vendors & Products Part-db
Part-db part-db

Fri, 23 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
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.
Title Part-DB: Spreadsheet Formula Injection in XLSX Part Exports
Weaknesses CWE-1236
CWE-20
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T14:59:59.159Z

Reserved: 2026-09-04T19:23:40.691Z

Link: CVE-2026-86020

cve-icon Vulnrichment

Updated: 2026-10-23T14:48:42.461Z

cve-icon NVD

Status : Deferred

Published: 2026-10-23T05:17:18.753

Modified: 2026-10-23T19:36:32.410

Link: CVE-2026-86020

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:39:42Z

Weaknesses
  • CWE-1236

    Improper Neutralization of Formula Elements in a CSV File

  • CWE-20

    Improper Input Validation