{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-41731","id":"CVE-2026-41731","title":"In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization","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 f","descriptionLong":"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.","published":"2026-06-09T23:49:26.535Z","updated":"2026-10-28T02:31:13.973953738Z","reserved":"2026-04-22T06:21:39.015Z","status":"Analyzed","rejected":false,"assigner":"vmware","metric":{"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","rating":"high","source":"vmware"},"metrics":[{"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","rating":"high","source":"vmware"},{"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","rating":"high","source":"vmware.com"},{"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","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"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","rating":"high","source":"redhat-SADP"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":["Spring for Apache Kafka"],"affectedProducts":[{"vendor":"Spring","product":"Spring for Apache Kafka","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.0.0","lessThan":"4.0.5.1","versionType":"custom"},{"status":"affected","version":"3.3.0","lessThan":"3.3.15.1","versionType":"custom"},{"status":"affected","version":"3.2.0","lessThan":"3.2.14","versionType":"custom"},{"status":"affected","version":"2.9.0","lessThan":"2.9.14","versionType":"custom"},{"status":"affected","version":"2.8.0","lessThan":"2.8.12","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.springframework.kafka:spring-kafka","purl":"pkg:maven/org.springframework.kafka/spring-kafka","ranges":[">=4.0.0 <4.0.6",">=3.3.0 <3.3.16",">=3.2.0 <=3.2.13",">=2.9.0 <=2.9.13","<=2.8.11"],"fixed":["4.0.6","3.3.16"],"advisory":"GHSA-xq69-5h5v-x9x4"}],"cwes":["CWE-502"],"aliases":["GHSA-xq69-5h5v-x9x4"],"references":[{"url":"https://spring.io/security/cve-2026-41731","tags":["Vendor Advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41731","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487375","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41731.json","tags":["x_sadp-csaf-vex","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41731.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41731","tags":["advisory"]},{"url":"https://github.com/spring-projects/spring-kafka","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0051,"epssPercentile":0.44247,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-41731","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41731","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-41731","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xq69-5h5v-x9x4","ok":true,"note":"GHSA-xq69-5h5v-x9x4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-41731","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}