{"schemaVersion":4,"id":"CVE-2026-59438","aliases":[],"status":"published","duplicateOf":null,"title":"Spring Integration MongoDbMessageStore allow-list API silently loses effect after startup","description":"MongoDbMessageStore exposes an addAllowedPatterns() API that restricts which classes may be deserialized from stored ErrorMessage payloads. Its Javadoc does not state that it must be called before the store is initialized. The allow-list is copied by value into the internal converter only once, when the store is initialized. If addAllowedPatterns() is called after initialization, the new patterns are never applied. Because an empty allow-list permits every class, the store continues to deserialize arbitrary classes while the application believes it is restricted.\n\n An attacker who can influence the serialized bytes stored in the backing MongoDB collection can cause an arbitrary Java class to be deserialized, which may lead to remote code execution through a gadget chain. Applications that configure the allow-list before the store is initialized are not affected.","dates":{"published":"2026-12-02T07:13:04.705Z","modified":"2026-12-03T04:56:17.450Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01077,"percentile":0.66187,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.01055,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01077,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01077,"percentile":0.66187}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.01055,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01077,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01077,"percentile":0.66187}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"spring","product":"spring integration","name":"Spring Integration","label":"spring integration","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.1.0, < 7.1.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.1.0","startInclusive":true,"end":"7.1.2.1","endInclusive":false}},{"text":"≥ 7.0.0, < 7.0.7.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.7.1","endInclusive":false}},{"text":"≥ 6.5.0, < 6.5.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.5.0","startInclusive":true,"end":"6.5.12","endInclusive":false}},{"text":"≥ 6.4.0, < 6.4.14","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.4.0","startInclusive":true,"end":"6.4.14","endInclusive":false}},{"text":"< 5.5.23","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.5.23","endInclusive":false}},{"text":"≥ 7.1.0, < 7.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.1.0","startInclusive":true,"end":"7.1.3","endInclusive":false}},{"text":"≥ 7.0.0, < 7.0.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.8","endInclusive":false}}],"versionsText":"≥ 7.1.0, < 7.1.2.1 | ≥ 7.0.0, < 7.0.7.1 | ≥ 6.5.0, < 6.5.12 | ≥ 6.4.0, < 6.4.14 | < 5.5.23 | ≥ 7.1.0, < 7.1.3 | ≥ 7.0.0, < 7.0.8","eol":null,"hubHref":"/vendor/spring/spring_integration"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-59438","label":"spring.io/security/cve-2026-59438","hostname":"spring.io","tags":[]},{"url":"https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H&version=3.1","label":"nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H&version=3.1","hostname":"nvd.nist.gov","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T07:13:04.705Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T04:56:17.450Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,66],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01077,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T04:56:17.450Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T04:56:17.450Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-02T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.01077,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:48:24.762Z","stale":false,"partial":false}}