CVE-2020-26945 json
"Deserialization errors in MyBatis"
published 2020-10-10 6 y ago modified 2026-06-17 4 mo ago also GHSA-qq48-m4jx-xqh8 , EUVD-2021-0863
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
MyBatis before 3.5.6 mishandles deserialization of object streams.
Patch / fix
- maven org.mybatis:mybatis 3.5.6
- mybatis mybatis 3.5.6
- mybatis openSUSE Tumbleweed 3.5.6-1.6
opensuse advisories openSUSE-SU-2024:11070-1
- github.com/mybatis/mybatis-3#2079 pull request
- github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.6 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-26945 updated cvss 7.3
mybatis: mishandles deserialization of object streams which could result in remote code execution
-
Red Hat JBoss Fuse 6 mybatisaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7.9fixed: vendor fix RHSA-2021:3140
-
Red Hat Integration Camel K 1 mybatisnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.82% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.mybatis:mybatis | <3.5.6 |
3.5.6 |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/mybatis/mybatis-3/pull/2079
web, patch, third-party-advisory
-
github.com
/mybatis/mybatis-3/compare/mybatis-3.5.5...mybatis-3.5.6
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26945
advisory
-
github.com
/mybatis/mybatis-3/releases/tag/mybatis-3.5.6
web
Sources
- CVE List CVE-2020-26945
- GitHub Advisory GHSA-qq48-m4jx-xqh8
- NVD CVE-2020-26945
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.