CVE-2026-144417: JimuReport password-less shares expose unauthenticated SQL injection in /jmreport/qurestSql
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 jimureportdb.dbdynsql. 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.5.4
Event History
Frequently Asked Questions
Which deployments are exposed?
JimuReport versions prior to 2.5.4 are affected when a report has an active password-less share. The vulnerable dataset-preview path uses the datasource connection configured for the targeted report query.
Does an attacker need an account or a share token?
No. An active password-less share can cause the authorization check to allow the targeted query even when the request contains no share token or other authentication.
How would an attacker identify a query to target?
The share-whitelisted POST /jmreport/getQueryInfo endpoint exposes dataset identifiers that can be used to target the query. The injection is then delivered through values substituted into ${param} placeholders by POST /jmreport/qurestSql.
What can be exposed through successful exploitation?
An attacker can use boolean-based SQL injection to disclose arbitrary data available to the report datasource connection. The described impact is data disclosure through that datasource.
How can I determine whether remediation is needed?
Remediation is needed for JimuReport installations below 2.5.4, particularly where reports have active password-less shares. Version 2.5.4 contains the fix.