{"id":"CVE-2026-107213","kind":"vulnerability","aliases":["CVE-2026-107213","GHSA-r7x5-4969-99p7","GO-2026-6687"],"related":[],"title":"Nil-pointer dereference in GetSlicers when a worksheet has extLst present but no drawing element in github.com/xuri/excelize","description":"Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.9.0 to 2.11.0, GetSlicers checks for ExtLst but dereferences ws.Drawing without checking whether the independently optional drawing element exists. File.GetSlicers reads ws.Drawing.RID after seeing a worksheet extLst element even when the independently optional worksheet drawing element is absent. When a crafted worksheet contains an extLst element without a drawing element and the application calls GetSlicers, the nil ws.Drawing pointer is dereferenced while resolving the drawing relationship, allowing an attacker to panic and terminate an unprotected process. No fixed version is available as of this review.","summary":"Excelize, a Go library for reading and writing Excel files, panics on a crafted spreadsheet when GetSlicers is called. An attacker who supplies such a file can crash any unprotected process that parses it.","severity":"high","cvss":8.7,"epss":0.00217,"exploited":false,"exploited_at":null,"products":[{"name":"github.com/xuri/excelize/v2","fixed":["2.11.1-0.20260929015830-8ffeb07ec9a3"],"affected":">= 2.9.0, < 2.11.1-0.20260929015830-8ffeb07ec9a3","ecosystem":"go"}],"ecosystems":["go"],"tags":["backend","excelize","file-upload","go","package"],"not_affected_if":["no-getslicers-calls","trusted-input-only","version-below-2.9.0"],"how_to_check":"Check whether go.mod pins github.com/xuri/excelize/v2 between v2.9.0 and v2.11.0 by running: go list -m github.com/xuri/excelize/v2\nSearch the codebase for calls to GetSlicers on files from untrusted sources.","fix":"Upgrade to github.com/xuri/excelize/v2 v2.11.1-0.20260929015830-8ffeb07ec9a3 or later, per the sources' fixed version.\nIf no upgrade is possible, stop calling GetSlicers on untrusted workbooks; the sources say no fixed release existed at review time for some versions.","status":"open","published_at":"2026-10-07T18:17:18+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","triaged_at":"2026-10-23T19:52:38+00:00","updated_at":"2026-10-23T19:52:38+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-23T19:52:38Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade to github.com/xuri/excelize/v2 v2.11.1-0.20260929015830-8ffeb07ec9a3 or later, per the sources' fixed version.\nIf no upgrade is possible, stop calling GetSlicers on untrusted workbooks; the sources say no fixed release existed at review time for some versions.","summary":"Excelize, a Go library for reading and writing Excel files, panics on a crafted spreadsheet when GetSlicers is called. An attacker who supplies such a file can crash any unprotected process that parses it.","category":"package","who_cares":["go","excelize","backend","file-upload"],"confidence":0.8,"analyst_note":"Sources conflict on whether a fix exists: the fixed field names a pseudo-version while the description says no fixed version is available; confirm against https://pkg.go.dev/vuln/GO-2026-6687 and the NVD entry.","how_to_check":"Check whether go.mod pins github.com/xuri/excelize/v2 between v2.9.0 and v2.11.0 by running: go list -m github.com/xuri/excelize/v2\nSearch the codebase for calls to GetSlicers on files from untrusted sources.","needs_analyst":true,"not_affected_if":["version-below-2.9.0","no-getslicers-calls","trusted-input-only"],"severity_if_unknown":"high"},"cost_usd":0.000471,"input_tokens":2344,"output_tokens":474,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-107213':23A,35A '-2026':22A,31A,34A '-6687':32A '-99':28A '/xuri/excelize':20A '/xuri/excelize/v2':38A '2.11.0':95C '2.9.0':93C '4969':27A 'absent':130C 'allow':159C 'applic':145C 'attack':66B,161C 'avail':173C 'backend':39B 'call':64B,146C 'check':97C,104C 'contain':135C 'craft':59B,133C 'crash':73B 'cve':21A,33A 'derefer':4A,101C 'dereferenc':153C 'draw':15A,109C,127C,141C,157C 'element':16A,110C,120C,128C,138C,142C 'even':121C 'excel':40B,46B,54B,79C,90C 'exist':111C 'extlst':11A,99C,119C,137C 'file':42B,55B,71B 'file-upload':41B 'file.getslicers':112C 'fix':170C 'getslic':6A,62B,96C,147C 'ghsa':25A 'ghsa-r7x5':24A 'github.com':19A,37A 'github.com/xuri/excelize':18A 'github.com/xuri/excelize/v2':36A 'go':30A,44B,48B,82C 'independ':107C,124C 'languag':83C 'librari':49B,84C 'microsoft':89C 'nil':2A,149C 'nil-point':1A 'option':108C,125C 'p7':29A 'packag':45B 'panic':56B,163C 'pars':78B 'pointer':3A,151C 'present':12A 'process':76B,168C 'r7x5':26A 'read':51B,86C,113C 'relationship':158C 'resolv':155C 'review':177C 'see':116C 'spreadsheet':60B,91C 'suppli':68B 'termin':165C 'unprotect':75B,167C 'upload':43B 'version':171C 'whether':105C 'without':103C,139C 'worksheet':9A,118C,126C,134C 'write':53B,88C 'ws.drawing':102C,150C 'ws.drawing.rid':114C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-07T18:17:18+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"govuln","external_id":"GO-2026-6687","url":"https://pkg.go.dev/vuln/GO-2026-6687","severity":null,"published_at":"2026-10-19T21:08:21+00:00","modified_at":"2026-10-19T21:08:21+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","fetched_at":"2026-10-23T19:13:08+00:00","note":null},{"source":"epss","external_id":"CVE-2026-107213","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107213","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:43+00:00","fetched_at":"2026-10-23T19:13:43+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-107213","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107213","severity":null,"published_at":"2026-10-07T18:17:18+00:00","modified_at":"2026-10-13T14:24:17+00:00","first_seen_at":"2026-10-23T19:35:23+00:00","fetched_at":"2026-10-23T19:35:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}