{"id":"CVE-2026-63393","kind":"vulnerability","aliases":["CVE-2026-63393"],"related":[],"title":"OpenSearch SQL plugin: crafted cursor lets an authenticated user run code","description":"OpenSearch SQL supports querying OpenSearch data using SQL and Piped Processing Language. In the 2.x line from 2.8.0.0 until 2.19.6.0, and the 3.x line prior to 3.7.0.0, a remote authenticated user with basic read/search permissions can provide a crafted `cursor` parameter to the `plugins/sql` endpoint and trigger unsafe deserialization of untrusted data, resulting in arbitrary code execution on the server. This issue is fixed in repository releases 2.19.6.0 and 3.7.0.0.","summary":"The OpenSearch SQL plugin deserializes untrusted data from the cursor parameter of its plugins/sql endpoint. A remote user with basic read or search permissions can send a crafted cursor and run arbitrary code on the server.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["infrastructure","java","opensearch","search","self-hosted"],"not_affected_if":["fixed-version","managed-hosting","no-sql-plugin"],"how_to_check":"- Check the OpenSearch version with `curl -s localhost:9200` and compare against the affected ranges (2.8.0.0 through 2.19.5.x, and 3.x before 3.7.0.0).\n- Confirm the SQL plugin is installed with `bin/opensearch-plugin list` and look for `opensearch-sql`.","fix":"- OpenSearch 2.x line: `2.19.6.0`\n- OpenSearch 3.x line: `3.7.0.0`","status":"open","published_at":"2026-10-30T23:17:14+00:00","first_seen_at":"2026-10-30T23:26:12+00:00","triaged_at":"2026-10-30T23:28:02+00:00","updated_at":"2026-10-30T23:28:02+00:00","category":"infrastructure","confidence":0.8,"triage":{"at":"2026-10-30T23:28:02Z","model":"claude-haiku-5-5","output":{"fix":"- OpenSearch 2.x line: `2.19.6.0`\n- OpenSearch 3.x line: `3.7.0.0`","reach":"network","title":"OpenSearch SQL plugin: crafted cursor lets an authenticated user run code","impact":"high","summary":"The OpenSearch SQL plugin deserializes untrusted data from the cursor parameter of its plugins/sql endpoint. A remote user with basic read or search permissions can send a crafted cursor and run arbitrary code on the server.","audience":"businesses","category":"infrastructure","nicknames":[],"who_cares":["opensearch","self-hosted","search","java"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"code runs on the search server with its privileges","analyst_note":"Confirm the affected range boundaries and whether managed OpenSearch services are patched, using the NVD entry and vendor advisory.","how_to_check":"- Check the OpenSearch version with `curl -s localhost:9200` and compare against the affected ranges (2.8.0.0 through 2.19.5.x, and 3.x before 3.7.0.0).\n- Confirm the SQL plugin is installed with `bin/opensearch-plugin list` and look for `opensearch-sql`.","plain_action":"","needs_analyst":true,"not_affected_if":["fixed-version","no-sql-plugin","managed-hosting"],"who_is_affected":"Any OpenSearch cluster in the affected 2.x or 3.x ranges with the SQL plugin enabled is exposed, and the attacker needs a valid account with basic read or search permissions. Clusters on the fixed versions, or with no SQL plugin, are not affected. unknown whether managed hosting providers have already patched.","user_interaction":"no","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000744,"input_tokens":4212,"output_tokens":646,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':13A,16A '-63393':14A,17A '2':75C '2.19.6.0':81C,130C '2.8.0.0':79C '3':84C '3.7.0.0':89C,132C 'arbitrari':56B,117C 'authent':8A,92C 'basic':44B,95C 'code':11A,57B,118C 'craft':4A,52B,101C 'cursor':5A,34B,53B,102C 'cve':12A,15A 'data':31B,66C,114C 'deseri':29B,111C 'endpoint':39B,107C 'execut':119C 'fix':126C 'host':24B 'infrastructur':18B 'issu':124C 'java':19B 'languag':72C 'let':6A 'line':77C,86C 'opensearch':1A,20B,26B,61C,65C 'paramet':35B,103C 'permiss':48B,97C 'pipe':70C 'plugin':3A,28B 'plugins/sql':38B,106C 'prior':87C 'process':71C 'provid':99C 'queri':64C 'read':45B 'read/search':96C 'releas':129C 'remot':41B,91C 'repositori':128C 'result':115C 'run':10A,55B 'search':21B,47B 'self':23B 'self-host':22B 'send':50B 'server':60B,122C 'sql':2A,27B,62C,68C 'support':63C 'trigger':109C 'unsaf':110C 'untrust':30B,113C 'use':67C 'user':9A,42B,93C 'x':76C,85C","nicknames":[],"mitigations":[],"who_affected":"Any OpenSearch cluster in the affected 2.x or 3.x ranges with the SQL plugin enabled is exposed, and the attacker needs a valid account with basic read or search permissions. Clusters on the fixed versions, or with no SQL plugin, are not affected. unknown whether managed hosting providers have already patched.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T23:17:14+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/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":"nvd","external_id":"CVE-2026-63393","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63393","severity":null,"published_at":"2026-10-30T23:17:14+00:00","modified_at":"2026-10-30T23:17:14+00:00","first_seen_at":"2026-10-30T23:26:12+00:00","fetched_at":"2026-10-30T23:26:12+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"}