Live threats

All CVEs / Mybatis

CVE-2023-25330Mybatis

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Apr 5, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A SQL injection vulnerability in Mybatis plus below 3.5.3.1 allows remote attackers to execute arbitrary SQL commands via the tenant ID valuer. NOTE: the vendor's position is that this can only occur in a misconfigured application; the documentation discusses how to develop applications that avoid SQL injection.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mybatis.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.baomidou:mybatis-plus < 3.5.3.1 3.5.3.1 —

Per OSV / GitHub Advisories (GHSA-32qq-m9fh-f74w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mybatismybatis< 3.5.3.1

Official sources

References

Links published by the sources. Open them with care.