{"id":"CVE-2020-26945","aliases":["CLSA-2026-1781830542","EUVD-2021-0863","GHSA-qq48-m4jx-xqh8","OESA-2021-1292","openSUSE-SU-2024:11070-1"],"status":"published","title":"\"Deserialization errors in MyBatis\"","description":"MyBatis before 3.5.6 mishandles deserialization of object streams.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0182,"percentile":0.78891,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502"],"published":"2020-10-10T19:41:39Z","modified":"2026-10-15T09:46:42Z","fixes":[{"ecosystem":"Maven","package":"org.mybatis:mybatis","fixed_in":["3.5.6"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:Maven","package":"org.mybatis:mybatis","fixed_in":["2.3.5-tuxcare.1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP2","package":"mybatis","fixed_in":["3.2.8-2.oe1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"mybatis","fixed_in":["3.5.6-1.6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.mybatis:mybatis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.6"}]}]},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.mybatis:mybatis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.5"},{"fixed":"2.3.5-tuxcare.1"}]}],"versions":["2.3.5"]},{"source":"osv","ecosystem":"Maven","package":"org.mybatis:mybatis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.6"}]}],"versions":["2.3.5","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.1.0","3.1.1","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.2.6","3.2.7","3.2.8","3.3.0","3.3.1","3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.5.0","3.5.1","3.5.2","3.5.3","3.5.4","3.5.5"]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP2","package":"mybatis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.8-2.oe1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mybatis","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.6-1.6"}]}]}],"products":[{"vendor":"mybatis","product":"mybatis"}],"references":[{"url":"https://github.com/mybatis/mybatis-3/pull/2079","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://github.com/mybatis/mybatis-3/compare/mybatis-3.5.5...mybatis-3.5.6","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26945","tags":["advisory"]},{"url":"https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qq48-m4jx-xqh8"},{"url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1292","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2020-26945","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-26945","description":"MyBatis before 3.5.6 mishandles deserialization of object streams.","status":"published","published":"2020-10-10T19:41:39Z","modified":"2024-08-04T16:03:22.977Z","updated_at":"2026-11-02T14:35:46.129376Z"}],"euvd":[{"id":"EUVD-2021-0863","description":"MyBatis before 3.5.6 mishandles deserialization of object streams.","status":"published","published":"2020-10-10T19:41:39Z","modified":"2024-08-04T16:03:22Z","updated_at":"2026-11-03T03:07:14.105511Z"}],"ghsa":[{"id":"GHSA-qq48-m4jx-xqh8","title":"\"Deserialization errors in MyBatis\"","description":"MyBatis before 3.5.6 mishandles deserialization of object streams leading to potential cache poisoning.","status":"published","published":"2021-04-22T16:14:38Z","modified":"2023-02-01T05:05:37Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:36:34.917834Z"}],"nvd":[{"id":"CVE-2020-26945","description":"MyBatis before 3.5.6 mishandles deserialization of object streams.","status":"published","published":"2020-10-10T20:15:11.9Z","modified":"2026-06-17T03:08:35.84Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:06:19.351389Z"}],"osv":[{"id":"GHSA-qq48-m4jx-xqh8","title":"\"Deserialization errors in MyBatis\"","description":"MyBatis before 3.5.6 mishandles deserialization of object streams leading to potential cache poisoning.","status":"published","published":"2021-04-22T16:14:38Z","modified":"2023-11-08T04:03:20.769862Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:54.760124Z"},{"id":"OESA-2021-1292","title":"mybatis security update","description":"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\u0026apos;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 \u0026quot;iBATIS\u0026quot; data mapper. The Apache project was retired and continued here.\r\n\r\nSecurity Fix(es):\r\n\r\nMyBatis before 3.5.6 mishandles deserialization of object streams.(CVE-2020-26945)","status":"published","published":"2021-07-31T11:04:31Z","modified":"2026-08-18T01:15:49.221569229Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"CLSA-2026-1781830542","title":"TuxCare security update for org.mybatis:mybatis (1 CVE)","description":"TuxCare rebuilt org.mybatis:mybatis to address 1 CVE. Fixed in 2.3.5-tuxcare.1.","status":"published","published":"2026-08-04T14:52:38Z","modified":"2026-10-15T09:46:42.651255752Z","updated_at":"2026-11-02T15:43:45.794021Z"},{"id":"openSUSE-SU-2024:11070-1","title":"mybatis-3.5.6-1.6 on GA media","description":"These are all security issues fixed in the mybatis-3.5.6-1.6 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:26:01.385477Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
