{"cve":"CVE-2026-41731","nvd":{"published":"2026-06-10T00:16:52.597","modified":"2026-08-05T13:22:14.220","status":"Analyzed","description":"JsonKafkaHeaderMapper and the deprecated DefaultKafkaHeaderMapper matched type headers against trusted packages using a prefix check, meaning that trusting any package implicitly trusted all of its subpackages. Combined with Jackson's default bean deserialization, a producer could supply crafted header values that caused the consumer to deserialize arbitrary JDK types.\n\nAffected versions:\nSpring for Apache Kafka 4.0.0 through 4.0.5; 3.3.0 through 3.3.15; 3.2.0 through 3.2.13; 2.9.0 through 2.9.13; 2.8.0 through 2.8.11.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-502"],"references":["https://spring.io/security/cve-2026-41731","https://access.redhat.com/security/cve/CVE-2026-41731","https://bugzilla.redhat.com/show_bug.cgi?id=2487375","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41731.json"],"products":["redhat:fuse","redhat:jboss_enterprise_application_platform_expansion_pack","vmware:spring_for_apache_kafka"],"source":"nvd","synced_at":"2026-10-19T22:38:48.522727527+00:00"},"epss":{"cve":"CVE-2026-41731","score":0.0051,"percentile":0.43502,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xq69-5h5v-x9x4","url":"https://osv.dev/vulnerability/GHSA-xq69-5h5v-x9x4","summary":"In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization","modified":"2026-06-12T22:11:25.858397Z","packages":[{"ecosystem":"Maven","name":"org.springframework.kafka:spring-kafka","purl":"pkg:maven/org.springframework.kafka/spring-kafka","ranges":[">=4.0.0 <4.0.6"],"fixed":["4.0.6"]},{"ecosystem":"Maven","name":"org.springframework.kafka:spring-kafka","purl":"pkg:maven/org.springframework.kafka/spring-kafka","ranges":[">=3.3.0 <3.3.16"],"fixed":["3.3.16"]},{"ecosystem":"Maven","name":"org.springframework.kafka:spring-kafka","purl":"pkg:maven/org.springframework.kafka/spring-kafka","ranges":[">=3.2.0 <=3.2.13"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.kafka:spring-kafka","purl":"pkg:maven/org.springframework.kafka/spring-kafka","ranges":[">=2.9.0 <=2.9.13"],"fixed":[]},{"ecosystem":"Maven","name":"org.springframework.kafka:spring-kafka","purl":"pkg:maven/org.springframework.kafka/spring-kafka","ranges":["<=2.8.11"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}