---
id: "CVE-2026-125381"
page: "https://infrastack.ai/live/CVE-2026-125381"
kind: "vulnerability"
aliases: ["CVE-2026-125381"]
title: "DataRoom: SQL injection lets sharer-role users run SQL against the database"
severity: "medium"
cvss: 6.0
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["dataroom", "mysql", "other", "sql"]
not_affected_if: ["dataroom-newer-than-3.0.0", "no-sharer-role-users"]
published_at: "2026-11-10T00:17:11+00:00"
first_seen_at: "2026-11-10T00:28:43+00:00"
updated_at: "2026-11-10T00:30:27+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125381", "first_seen_at": "2026-11-10T00:28:43+00:00"}]
exploit_sources: []
---

# DataRoom: SQL injection lets sharer-role users run SQL against the database

Link for people: https://infrastack.ai/live/CVE-2026-125381 (this .md is for agents)

DataRoom through 3.0.0 builds SQL in MyBatisService.generateSql from crafted dataset parameters without proper escaping. A user with the sharer role can send crafted inputParam values to /dataRoom/dataset/run and execute injected SQL against the database.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed DataRoom version against the affected range (through 3.0.0).
- Look for the /dataRoom/dataset/run endpoint in your deployment and review who holds the sharer role.

## Timeline

- 2026-11-10T00:28:43+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125381

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/dataroom-through-3.0.0-sql-injection-via-mybatisservice-generatesql
- [fix] Patch: github.com https://github.com/gcpaas/DataRoom/commit/d155312b23a91e39e5e934e3e2d2deede650b92b

## From the sources

DataRoom through 3.0.0 contains an sql injection vulnerability in MyBatisService.generateSql that allows sharer-role users to inject SQL by supplying crafted dataset parameters. Attackers can send crafted inputParam values to /dataRoom/dataset/run, exploiting unquoted string parameters or MySQL backslash escapes, to execute injected SQL against the database.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
