CamelApplication · Apache

CVE-2026-56140

CRITICAL · 9.8 CVSS v3.1 Published 2026-07-06
Fix available
A fix is available. Upgrade to 4.14.8 / 4.18.3 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click 7 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Input Validation vulnerability in Apache Camel AWS SNS component. The 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. This 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. This 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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache Camel AWS SNS component (camel-aws2-sns) lacked an inbound filter rule in Sns2HeaderFilterStrategy, unlike its sibling Sqs2HeaderFilterStrategy. While the SQS component was exploitable (CVE-2026-46456), SNS is producer-only and cannot receive messages, so no external attributes map inbound—meaning this was not reachable. The fix adds an inbound filter (setInFilterStartsWith for Camel namespace) as defense-in-depth alignment.

MitigationNo urgent action required; upgrade to 4.14.8 (LTS), 4.18.3, or 4.21.0 for aligned configuration. Apply least-privilege IAM permissions as best practice.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
CamelApplication
Affected:>= 4.0.0, < 4.14.8>= 4.15.0, < 4.18.3>= 4.19.0, < 4.21.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify camel-aws2-sns component usage
    Search your codebase, build files (pom.xml, build.gradle), and runtime classpaths for the 'camel-aws2-sns' artifact or the 'aws2-sns' component identifier
    Affected if The camel-aws2-sns component is present in your project dependencies or runtime configuration
  2. Check Apache Camel version
    Run 'mvn camel:version' for Maven projects, inspect your build artifact manifest, or check the camel-core version in your dependency tree
    Affected if The installed Camel version falls within: >=4.0.0 AND <4.14.8, OR >=4.15.0 AND <4.18.3, OR >=4.19.0 AND <4.21.0
  3. Verify Sns2HeaderFilterStrategy configuration
    Inspect your Camel route definitions and bean configurations for any Sns2HeaderFilterStrategy bean definitions; search for setInFilterStartsWith calls related to SNS
    Affected if The inbound filter is not explicitly configured (the fix adds this as defense-in-depth)

You are affected only if you use the camel-aws2-sns component with a Camel version in the affected ranges AND you have custom header filter configurations that would benefit from inbound filtering alignment; note that the SNS producer-only design means the original condition was not exploitable.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.14.8 / 4.18.3 / 4.21.0 or later
Fixed in 4.14.84.18.34.21.0
Interim mitigation

No urgent action required; upgrade to 4.14.8 (LTS), 4.18.3, or 4.21.0 for aligned configuration. Apply least-privilege IAM permissions as best practice.

Recommended fix High confidence

4.21.0 (or 4.18.3 for 4.18.x stream, or 4.14.8 for 4.14.x LTS stream)

  1. 1. Identify all Apache Camel deployments using the camel-aws2-sns component in versions 4.0.0 through 4.14.7, 4.15.0 through 4.18.2, or 4.19.0 through 4.20.x
  2. 2. Plan an upgrade to one of the fixed versions: 4.21.0 (latest), 4.18.3 (4.18.x stream), or 4.14.8 (4.14.x LTS stream)
  3. 3. Review the Apache Camel 4.21.0, 4.18.3, or 4.14.8 release notes for any additional changes that may affect your integration
  4. 4. Execute the upgrade in a non-production environment first to validate functionality
  5. 5. Deploy the upgraded version to production
Caveat Minimal; this is a defensive hardening change with no known exploit path. Review release notes for any other changes in the target version.

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Camel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
6.0 hours of engineering $1,060
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,696.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-56140 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-56140 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data