CVE-2026-59438
Spring Integration MongoDbMessageStore allow-list API silently loses effect after startup
설명(영어 원문)
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. 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.
기본 정보
- 공개일
- 2026-12-02
- 최근 수정
- 2026-12-03
- 심각도
- 보통 6.6CNA 평가 · CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H - 약점 분류(CWE)
- CWE-502
- 악용 단계(SSVC)
- 알려진 악용 없음
영향 받는 제품
- Spring Spring Integration — 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