Every CVE Search/ Get API key

CVE-2020-26945

"Deserialization errors in MyBatis"

8.1 HighFix available

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

1.82%Up 1.2 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
5.1 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
org.mybatis:mybatis
Maven
before 3.5.6
3.5.6
org.mybatis:mybatis
TuxCare:Maven
2.3.5 up to 2.3.5-tuxcare.1
2.3.5-tuxcare.1
org.mybatis:mybatis
Maven
before 3.5.6, plus listed versions
2.3.53.0.13.0.23.0.33.0.4
Show 28 moreShow less
3.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
mybatis
openEuler:20.03-LTS-SP2
before 3.2.8-2.oe1
3.2.8-2.oe1
mybatis
openSUSE:Tumbleweed
before 3.5.6-1.6
3.5.6-1.6

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open