Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

CVE-2020-26945 — mybatis

HIGHFix: mybatis/mybatis-3#2079

CVE-2020-26945 is a high-severity (CVSS 8.1) Deserialization of Untrusted Data vulnerability in org.mybatis:mybatis. A fix is available for org.mybatis:mybatis — see the affected versions and patch details below.

"Deserialization errors in MyBatis"

Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs78th percentile — riskier than 78% of all scored CVEsHighest risk
0.65%1.21%1.76%2.32%1.1%1.8%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2020-26945 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
☕org.mybatis:mybatis

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

MyBatis before 3.5.6 mishandles deserialization of object streams leading to potential cache poisoning.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.mybatis:mybatisall versions3.5.6org.mybatis:mybatis:3.5.6

Affected Products

1 product · 1 configurations
Application
mybatismybatis
< 3.5.6
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.mybatis:mybatis, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.mybatis:mybatis to 3.5.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-26945 is resolved across your whole dependency graph.

  3. Workarounds

    Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat Fuse 7.9mybatisRHSA-2021:3140

Frequently Asked Questions

MyBatis before 3.5.6 mishandles deserialization of object streams leading to potential cache poisoning.
O3 Security · Impact-Aware SCA

Is CVE-2020-26945 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2020-26945: mybatis — Fixed in 3.5.6