{"id":"CVE-2026-28438","aliases":["CVE-2026-28438","GHSA-59g6-v3vg-f7wc","PYSEC-2026-2133"],"related":[],"kind":"vulnerability","state":"published","title":"CocoIndex Doris target connector didn't verify table name when constructing ALTER TABLE statements","summary":"CocoIndex is a data transformation framework for AI. Prior to version 0.3.34, the Doris target connector didn't verify the configured table name before creating some SQL statements (ALTER TABLE). So, in the application code, if the table name is provided by an untrusted upstream, it expose vulnerability to SQL injection when target schema change. This issue has been patched in version 0.3.34.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CocoIndex is a data transformation framework for AI. Prior to version 0.3.34, the Doris target connector didn't verify the configured table name before creating some SQL statements (ALTER TABLE). So, in the application code, if the table name is provided by an untrusted upstream, it expose vulnerability to SQL injection when target schema change. This issue has been patched in version 0.3.34.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe Doris target connector didn't verify the configured table name before creating some SQL statements (`ALTER TABLE`). So, in the application code, if the table name is provided by an untrusted upstream, it expose vulnerability to SQL injection when target schema change.\n\n### Patches\nYes, it's fixed in cocoindex 0.3.34: we start to validate table names passed to Doris target at entry point and error out immediately if it's not a valid identifier.\n\n### Workarounds\nUsers should make sure table names used to configure CocoIndex targets are valid, regardless of this fix. Which means\n\n- The table name comes from a trusted source (e.g. for most cases it's just a fixed string literal).\n- Even if it comes from an untrusted source (e.g. provided by end user), it should be validated before using it to configure the Doris target for CocoIndex.","format":"markdown","source":"ghsa"},{"lang":"es","text":"CocoIndex es un framework de transformación de datos para IA. Antes de la versión 0.3.34, el conector de destino de Doris no verificaba el nombre de tabla configurado antes de crear algunas sentencias SQL (ALTER TABLE). Así, en el código de la aplicación, si el nombre de la tabla es proporcionado por una fuente no confiable, expone una vulnerabilidad a la inyección SQL cuando el esquema de destino cambia. Este problema ha sido parcheado en la versión 0.3.34.","source":"nvd"}],"published":"2026-03-02T20:27:48.000Z","modified":"2026-07-13T07:26:15.531Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 0.3.34","status":"affected"}],"vendor":"cocoindex-io","product":"cocoindex","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.34"}],"ecosystem":"PyPI","package":"cocoindex","purl":"pkg:pypi/cocoindex","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.3.34"}],"vendor":"cocoindex","product":"cocoindex","cpe":"cpe:2.3:a:cocoindex:cocoindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.34"}],"ecosystem":"PyPI","package":"cocoindex","purl":"pkg:pypi/cocoindex","source":"pysec"}],"references":[{"url":"https://github.com/cocoindex-io/cocoindex/security/advisories/GHSA-59g6-v3vg-f7wc","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/cocoindex-io/cocoindex/commit/ba2fc4a89e22d35572c64bd2990737c7913b0729","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28438","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cocoindex-io/cocoindex","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-06T16:00:07.543Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28438","url":"https://www.cve.org/CVERecord?id=CVE-2026-28438","licence":"CVE Terms of Use","modified":"2026-03-06T16:06:07.600Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-59g6-v3vg-f7wc","url":"https://github.com/advisories/GHSA-59g6-v3vg-f7wc","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:15.531Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28438","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28438","licence":"Public domain","modified":"2026-06-17T10:28:38.687Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2133","url":"https://osv.dev/vulnerability/PYSEC-2026-2133","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:21.896Z"}],"updatedAt":"2026-11-25T22:59:15.389Z","epss":{"score":0.0033,"percentile":0.28252,"date":"2026-12-01T12:00:22.000Z"}}