{"id":"CVE-2026-56140","published":"2026-07-06T08:16:00Z","modified":"2026-07-06T19:31:06Z","title":"Apache Camel AWS2 SNS: An inbound Camel-namespace filter was added to Sns2HeaderFilterStrategy to align it with…","vendor":"Apache","product":"Apache Camel AWS2 SNS","tier":"tail","description":{"text":"Improper Input Validation vulnerability in Apache Camel AWS SNS component.\n\n\nThe camel-aws2-sns component filters Camel headers through a component-specific HeaderFilterStrategy, Sns2HeaderFilterStrategy. Like the sibling Sqs2HeaderFilterStrategy, it originally configured only an outbound filter (setOutFilterPattern, which blocks Camel*, breadcrumbId and org.apache.camel.* headers from being written out) and did not configure an inbound filter rule. For the related camel-aws2-sqs component this inbound gap was exploitable, because the Sqs2Consumer maps inbound SQS message attributes into the Camel Exchange via HeaderFilterStrategy.applyFilterToExternalHeaders, allowing a message sender to inject Camel control headers (tracked as CVE-2026-46456). camel-aws2-sns, by contrast, is producer-only: Sns2Endpoint does not support consumers (createConsumer throws UnsupportedOperationException, 'You cannot receive messages from this endpoint'), so no externally-supplied message attributes are ever mapped inbound into a Camel Exchange through SNS, and the missing inbound filter rule on Sns2HeaderFilterStrategy was therefore not reachable by an attacker. As part of the same fix (CAMEL-23506), an inbound filter rule (setInFilterStartsWith for the Camel namespace) was added to Sns2HeaderFilterStrategy so that its configuration matches the corrected Sqs2HeaderFilterStrategy and the other sibling strategies. This is a defense-in-depth alignment with no known exploit path in camel-aws2-sns.\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0.\n\nThis is a defense-in-depth hardening change with no known exploit path in camel-aws2-sns, which is producer-only, so no urgent action or workaround is required. Users who want the aligned behaviour can upgrade to version 4.21.0, or to 4.14.8 on the 4.14.x LTS releases stream, or to 4.18.3 on the 4.18.x releases stream, which contain the change. As a general best practice, operators should continue to apply least-privilege IAM permissions on their SNS topics.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00738,"percentile":0.55464,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-56140.html","tags":["vendor-advisory"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.09},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Camel AWS2 SNS","versions":[">= 4.0.0, < 4.14.8",">= 4.15.0, < 4.18.3",">= 4.19.0, < 4.21.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-06T19:31:02.739566Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.camel:camel-aws2-sns","vulnerableRanges":[">=4.0.0, <4.14.8",">=4.15.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-w2v8-8q6c-3rhr"],"provenance":"source"}],"summary":{"text":"The Sns2HeaderFilterStrategy component of Apache Camel's AWS2 SNS integration (camel-aws2-sns) lacked an inbound header filter rule for the Camel namespace, an improper input validation weakness in its header filtering configuration, affecting Apache Camel 4.0.0 before 4.14.8, 4.15.0 before 4.18.3, and 4.19.0 before 4.21.0. The component is producer-only and does not receive inbound messages, so an attacker has no path to exploit the gap, and it is a defense-in-depth alignment rather than an exploitable issue.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:22Z"},"euvd":{"id":"EUVD-2026-41852","exploited":false,"provenance":"source"}}