CVE-2020-26945
"Deserialization errors in MyBatis"
MyBatis before 3.5.6 mishandles deserialization of object streams.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
MyBatis before 3.5.6 mishandles deserialization of object streams.
- Record
CVE-2020-26945- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 5.1 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
MyBatis before 3.5.6 mishandles deserialization of object streams.
- Record
CVE-2020-26945- Updated
- 2026-11-02
EUVDEUVD-2021-0863 No score
MyBatis before 3.5.6 mishandles deserialization of object streams.
- Record
EUVD-2021-0863- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qq48-m4jx-xqh8
8.1
"Deserialization errors in MyBatis"
MyBatis before 3.5.6 mishandles deserialization of object streams leading to potential cache poisoning.
- Record
GHSA-qq48-m4jx-xqh8- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVGHSA-qq48-m4jx-xqh8
8.1
"Deserialization errors in MyBatis"
MyBatis before 3.5.6 mishandles deserialization of object streams leading to potential cache poisoning.
- Record
GHSA-qq48-m4jx-xqh8- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVOESA-2021-1292
8.1
mybatis security update
The MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping tools. To use the MyBatis data mapper, you rely on your own objects, XML, and SQL. There is little to learn that you don't already know. With the MyBatis data mapper, you have the full power of both SQL and stored procedures at your fingertips. The MyBatis project is developed and maintained by a team that includes the original creators of the "iBATIS" data mapper. The Apache project was retired and continued here.
Security Fix(es):
MyBatis before 3.5.6 mishandles deserialization of object streams.(CVE-2020-26945)
- Record
OESA-2021-1292- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1781830542 No score
TuxCare security update for org.mybatis:mybatis (1 CVE)
TuxCare rebuilt org.mybatis:mybatis to address 1 CVE. Fixed in 2.3.5-tuxcare.1.
- Record
CLSA-2026-1781830542- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11070-1 No score
mybatis-3.5.6-1.6 on GA media
These are all security issues fixed in the mybatis-3.5.6-1.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11070-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.mybatis:mybatisMaven |
before 3.5.6 | 3.5.6 |
org.mybatis:mybatisTuxCare:Maven |
2.3.5 up to 2.3.5-tuxcare.1 | 2.3.5-tuxcare.1 |
org.mybatis:mybatisMaven |
before 3.5.6, plus listed versions 2.3.53.0.13.0.23.0.33.0.4 Show 28 moreShow less3.0.53.0.63.1.03.1.13.2.03.2.13.2.23.2.33.2.43.2.53.2.63.2.73.2.83.3.03.3.13.4.03.4.13.4.23.4.33.4.43.4.53.4.63.5.03.5.13.5.23.5.33.5.43.5.5 |
3.5.6 |
mybatisopenEuler:20.03-LTS-SP2 |
before 3.2.8-2.oe1 | 3.2.8-2.oe1 |
mybatisopenSUSE:Tumbleweed |
before 3.5.6-1.6 | 3.5.6-1.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-26945 is a high vulnerability (CVSS 8.1) in Mybatis, published October 10, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.82%, the 78th percentile. Fixed in org.mybatis:mybatis 3.5.6.
References
github.com/mybatis/mybatis-3/pull/2079
github.com/mybatis/mybatis-3/compare/mybatis-3.5.5...mybatis-3.5.6
nvd.nist.gov/vuln/detail/CVE-2020-26945
github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.6
github.com/advisories/GHSA-qq48-m4jx-xqh8
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1292
suse.com/security/cve/CVE-2020-26945