{"schemaVersion":3,"id":"CVE-2026-41731","aliases":["GHSA-xq69-5h5v-x9x4"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-06-09T23:49:26.535Z","modified":"2026-08-05T12:14:45.446Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/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":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00646,"percentile":0.50002,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.13599999999999993,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0051},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00646,"percentile":0.50002}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0051,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00646,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00646,"percentile":0.50002}]},"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":"org.springframework.kafka","product":"spring-kafka","name":"org.springframework.kafka:spring-kafka","label":"spring-kafka","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework.kafka/spring-kafka","purlType":"maven","versions":[{"text":"≥ 4.0.0, < 4.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, ≤ 3.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, ≤ 2.9.13","noFixRecorded":false,"fixedIn":null},{"text":"≤ 2.8.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 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","eol":null,"hubHref":null},{"vendor":"redhat","product":"fuse","name":"fuse","label":"fuse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0.0","eol":null,"hubHref":"/vendor/redhat/fuse"},{"vendor":"redhat","product":"jboss_enterprise_application_platform_expansion_pack","name":"jboss enterprise application platform expansion pack","label":"jboss_enterprise_application_platform_expansion_pack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/redhat/jboss_enterprise_application_platform_expansion_pack"},{"vendor":"spring","product":"spring for apache kafka","name":"Spring For Apache Kafka","label":"spring for apache kafka","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.0.5.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.15.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 3.2.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.8.0, < 2.8.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.0.5.1 | ≥ 3.3.0, < 3.3.15.1 | ≥ 3.2.0, < 3.2.14 | ≥ 2.9.0, < 2.9.14 | ≥ 2.8.0, < 2.8.12","eol":null,"hubHref":"/vendor/spring/spring_for_apache_kafka"},{"vendor":"vmware","product":"spring_for_apache_kafka","name":"spring for apache kafka","label":"spring_for_apache_kafka","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.8.0, < 2.8.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 3.2.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.3.15.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0.0, < 4.0.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.8.0, < 2.8.12 | ≥ 2.9.0, < 2.9.14 | ≥ 3.2.0, < 3.2.14 | ≥ 3.3.0, < 3.3.15.1 | ≥ 4.0.0, < 4.0.5.1","eol":null,"hubHref":"/vendor/vmware/spring_for_apache_kafka"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-41731","label":"spring.io/security/cve-2026-41731","hostname":"spring.io","tags":["WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-41731","label":"access.redhat.com/security/cve/CVE-2026-41731","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2487375","label":"bugzilla.redhat.com/show_bug.cgi?id=2487375","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","Third Party Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41731.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41731.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41731","label":"nvd.nist.gov/vuln/detail/CVE-2026-41731","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/spring-projects/spring-kafka","label":"github.com/spring-projects/spring-kafka","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-09T23:49:26.535Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-05T12:14:45.446Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:42:51.173Z","stale":false,"partial":false}}