freenode

← CVE tracker

CVE-2026-144417

JimuReport password-less shares expose unauthenticated SQL injection in /jmreport/qurestSql

Severity
medium CVSS 6.9 (v4.0)
Affects
JeecgBoot · jeecgboot
Weakness
CWE-89: Improper Neutralization of Special Elements used in an SQL Command
Published
4 December 2026 by GitHub_M
JimuReport is an open source reporting and business intelligence tool. Prior to 2.5.4, the dataset-preview endpoint POST /jmreport/qurestSql performs raw string substitution of request values into ${param} placeholders in SQL read from jimu_report_db.db_dyn_sql. The post-1.9.x authentication gate does not prevent this path because JimuReportTokenInterceptor.isSharingEffective authorizes an apiSelectId whenever its owning report has an active password-less share, even when the request carries no share token. The share-whitelisted POST /jmreport/getQueryInfo endpoint exposes the dataset identifiers needed to target the query. Crafted placeholder values can then produce boolean-based SQL injection against the report datasource and disclose arbitrary data available to that connection. This issue is fixed in 2.5.4.

Our coverage

We have not written about this one. Know why it matters? Send a tip.