Skip to content
Heist/ feed
Back to feed
Critical

Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage

Type: advisorySources: OSV

Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized object, leading to denial of service or, if a suitable gadget class is on the classpath, remote code execution. The fix disables ObjectMessage deserialization by default, with a configuration switch to re-enable it if needed. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-66909
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:28 UTC · Revision 1

Source evidence

Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage

core-osv · Original source

Published 6 Aug 2026, 10:23 UTC

Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized object, leading to denial of service or, if a suitable gadget class is on the classpath, remote code execution. The fix disables ObjectMessage deserialization by default, with a configuration switch to re-enable it if needed. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.

osv:CVE-2026-66909
Complete source record
{
  "id": "218be5bb9ccdb423c576e5e69a598dcee8c69cdb395b2515f201dfd14282d4d0",
  "url": "https://osv.dev/vulnerability/CVE-2026-66909",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage",
    "summary": "Apache CXF's JMS transport deserializes the body of any inbound JMS ObjectMessage using native Java deserialization, with no type restrictions in place. Any attacker able to place a message on the service's JMS destination can submit a malicious serialized object, leading to denial of service or, if a suitable gadget class is on the classpath, remote code execution. The fix disables ObjectMessage deserialization by default, with a configuration switch to re-enable it if needed. Users are recommended to upgrade to versions 4.2.3 or 4.1.8 or 3.6.12, which fix this issue.",
    "evidence": "osv:CVE-2026-66909",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-66909",
      "aliases": [
        "CVE-2026-66909"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/cxf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "16d606b3c4d5c7d271fd3b488c60a208586acb3f"
                },
                {
                  "introduced": "02310e95fe74c0c031f540f3284e4a9bd856ced2"
                },
                {
                  "fixed": "8797a177ec23e9c578c78a630c154ad27d9bbe8d"
                },
                {
                  "introduced": "04ccbfd709eef8f4af53d6237514fbe9db7ea81f"
                },
                {
                  "fixed": "33259395b45b4ff69b8df6a153630721fdd489fa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.6.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.1.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "fixed": "4.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "cxf-4.1.7",
            "cxf-4.2.2",
            "cxf-3.6.11",
            "cxf-4.1.6",
            "cxf-4.2.1",
            "cxf-3.6.10",
            "cxf-4.1.5",
            "cxf-4.2.0",
            "cxf-3.6.9",
            "cxf-4.1.4",
            "cxf-3.6.8",
            "cxf-4.1.3",
            "cxf-3.6.7",
            "cxf-4.1.2",
            "cxf-3.6.6",
            "cxf-4.1.1",
            "cxf-4.1.0",
            "cxf-3.6.5",
            "cxf-3.6.4",
            "cxf-3.6.3",
            "cxf-4.0.4",
            "cxf-4.0.3",
            "cxf-3.6.2",
            "cxf-4.0.2",
            "cxf-3.6.1",
            "cxf-4.0.1",
            "cxf-3.6.0",
            "cxf-4.0.0",
            "cxf-3.5.0",
            "cxf-3.4.1",
            "cxf-3.4.0",
            "cxf-3.3.3",
            "cxf-3.3.2",
            "cxf-3.3.1",
            "cxf-3.3.0",
            "cxf-3.2.5",
            "cxf-3.2.4",
            "cxf-3.2.3",
            "cxf-3.2.2",
            "cxf-3.2.1",
            "cxf-3.2.0",
            "cxf-3.1.4",
            "cxf-3.1.3",
            "cxf-3.1.2",
            "cxf-3.1.1",
            "cxf-3.1.0",
            "cxf-3.0.0",
            "cxf-3.0.0-milestone2",
            "cxf-2.7.2",
            "cxf-2.7.1",
            "cxf-2.7.0",
            "cxf-2.6.1",
            "cxf-2.6.0",
            "cxf-2.5.1",
            "cxf-2.5.0",
            "cxf-2.4.0",
            "cxf-2.3.0",
            "cxf-2.2.2",
            "cxf-2.2.1",
            "cxf-2.2",
            "cxf-2.1.2",
            "cxf-2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66909.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.356735647Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66909.json",
        "https://lists.apache.org/thread/lr5d4tg6tf7j29jmw8wt242oowonjqpx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-66909"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.2.0"
                  },
                  {
                    "fixed": "4.2.3"
                  },
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.1.8"
                  },
                  {
                    "fixed": "3.6.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66909.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-66909",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493052,
  "published_at": "2026-08-06T10:23:23.571+00:00"
}