{
  "id": "CVE-2026-41731",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41731",
  "published_at": "2026-06-09T23:49:26.535Z",
  "title": "In Spring for Apache Kafka, overly broad trusted-package matching in header mappers exposes JDK classes to deserialization",
  "vendor": "Spring",
  "product": "Spring for Apache Kafka",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": 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.",
  "cwe": "CWE-502",
  "cpes": [
    "cpe:2.3:a:redhat:fuse:7.0.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:jboss_enterprise_application_platform_expansion_pack:-:*:*:*:*:*:*:*",
    "cpe:2.3:a:vmware:spring_for_apache_kafka:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Spring",
        "product": "Spring for Apache Kafka",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.0.5.1",
          "\u003e= 3.3.0, \u003c 3.3.15.1",
          "\u003e= 3.2.0, \u003c 3.2.14",
          "\u003e= 2.9.0, \u003c 2.9.14",
          "\u003e= 2.8.0, \u003c 2.8.12"
        ],
        "fixed_in": [
          "4.0.5.1",
          "3.3.15.1",
          "3.2.14",
          "2.9.14",
          "2.8.12"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Spring for Apache Kafka to 4.0.5.1 or 3.3.15.1 or 3.2.14 or 2.9.14 or 2.8.12 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
