GHSA-cmc3-hr79-8mmv
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain sqs:SendMessage on consumed queue
-
DeliveryCraft SQS message with Camel* MessageAttribute
-
ExploitSqs2Consumer maps header into Exchange
-
ExecutionInjected header reaches downstream producer
-
PersistProducer redirected or query overridden
-
ImpactData exfiltration or file/SQL tampering
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Requires that the target route consumes from an SQS queue via the camel-aws2-sqs component on a vulnerable version (4.0.0-4.14.7, 4.15.0-4.18.2, or 4.19.0-4.20.x) AND that the route contains a downstream producer whose behaviour is steered by a Camel control header - for example an HTTP producer honoring CamelHttpUri, a file producer honoring CamelFileName, or a SQL producer honoring CamelSqlQuery. The attacker must possess AWS sqs:SendMessage permission on that specific consumed queue (cross-account sender or lower-privileged in-account component). Exploitation is LIMITED by: the need for a header-sensitive producer in the route (routes without such producers see no concrete impact), the requirement to be an authorized SQS sender on the exact queue, and the fact that impact is bounded by what those downstream producers can do. No end-user interaction is required, and injected headers persist across direct/seda/vm hops. |
| Impact | The published CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), but that rating overstates real-world risk for this design flaw. Exploitation is not truly unauthenticated in practice: the attacker must already hold AWS sqs:SendMessage permission on the specific queue Camel consumes, and the concrete impact is entirely contingent on which downstream producers the route uses - a route with only benign producers may be unaffected, while one with HTTP, file, or SQL producers is at material risk. That conditionality argues for higher attack complexity (AC:H) and some required privilege (PR:L), and the impact is dominated by integrity rather than uniform C/I/A High. Corroborating signals point to lower urgency: EPSS is 0.16% (6th percentile), the CVE is not in CISA KEV, and no POC is referenced. Note a discrepancy in the input - one third-party advisory link references CVE-2026-56140 rather than CVE-2026-46456; verify the correct advisory with the vendor. |
| Exploit ScenarioDerived | An attacker with cross-account or lower-privileged in-account sqs:SendMessage rights posts a message to the consumed SQS queue with a MessageAttribute named CamelHttpUri set to an attacker-controlled URL. When Sqs2Consumer maps the attribute into the Exchange, a downstream HTTP producer in the route uses the injected value and sends the request (and any accompanying data) to the attacker's endpoint. No public POC is referenced, and success depends on the route containing a header-sensitive producer. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 06, 2026
Camel-internal control header injection in the Apache Camel AWS2-SQS component (camel-aws2-sqs) lets any principal holding sqs:SendMessage on a consumed SQS queue override downstream producer behaviour in a route. Because Sqs2HeaderFilterStrategy defined only an outbound filter and no inbound filter, DefaultHeaderFilterStrategy copied sender-supplied attributes such as CamelHttpUri, CamelFileName and CamelSqlQuery verbatim into the Exchange, so an attacker can redirect HTTP producers, rename files or override SQL queries. This is a design flaw with no public exploit identified at time of analysis; EPSS is low (0.16%, 6th percentile) and it is not on CISA KEV.
Earlier versions of this analysis (2)
Camel control-header injection in the Apache Camel camel-aws2-sqs component (versions 4.0.0 through 4.14.7, 4.15.0 through 4.18.2, and 4.19.0 through 4.20.x) allows any principal with sqs:SendMessage to the consumed queue to inject internal Camel headers (e.g. CamelHttpUri, CamelFileName, CamelSqlQuery) that hijack downstream producers in the route. Because Sqs2HeaderFilterStrategy defined only an outbound filter, inbound SQS message attributes were mapped unfiltered onto the Exchange, so a cross-account or lower-privileged in-account sender can redirect HTTP calls, rename files, or override SQL queries. Rated CVSS 9.8, but there is no public exploit identified at time of analysis and EPSS is low (0.16%, 6th percentile).
Apache Camel's camel-aws2-sns component lacked an inbound namespace filter on Sns2HeaderFilterStrategy, a configuration gap that mirrors a genuinely exploitable flaw in the sibling camel-aws2-sqs component (CVE-2026-46456). However, because camel-aws2-sns is strictly producer-only - Sns2Endpoint.createConsumer() throws UnsupportedOperationException - externally-supplied SNS message attributes are never mapped inbound into a Camel Exchange, making the missing filter architecturally unreachable. The fix (CAMEL-23506) adds an inbound setInFilterStartsWith rule to Sns2HeaderFilterStrategy purely as a defense-in-depth alignment with sibling strategies; no exploitation of this specific issue has been reported or is feasible under the current design. No urgent remediation is required per the Apache Camel security team.
RemediationAI
Vendor-released patch: upgrade to Apache Camel 4.21.0, which adds an inbound HeaderFilterStrategy rule to Sqs2HeaderFilterStrategy that filters the Camel header namespace case-insensitively so sender-supplied Camel*/camel* headers are no longer mapped into the Exchange. LTS and stream users should upgrade to 4.14.8 (4.14.x LTS) or 4.18.3 (4.18.x). For deployments that cannot upgrade immediately, strip Camel control headers at the very start of the route before any downstream producer, e.g. removeHeaders('Camel*') and removeHeaders('camel*') to catch the case-insensitive variants - with the side effect that any legitimately propagated Camel headers set upstream of that point are also removed, so place it immediately after the SQS consumer. Additionally, apply least-privilege sqs:SendMessage permissions on the queue resource policy to restrict which principals and cross-account senders can post to the consumed queue. Reference the vendor advisory at https://camel.apache.org/security/CVE-2026-46456.html.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Camel is a widely used Java enterprise-integration framework whose components map external protocol metadata onto a normalized Camel Exchange. The camel-aws2-sqs consumer (Sqs2Consumer) uses the AWS SDK v2 to poll Amazon SQS and calls HeaderFilterStrategy.applyFilterToExternalHeaders to copy each SQS MessageAttribute into the Exchange as a Camel message header. Sqs2HeaderFilterStrategy extended the default strategy but set only setOutFilterPattern (blocking Camel*, breadcrumbId and org.apache.camel.* from being written back to the broker), leaving the inbound filter unset; DefaultHeaderFilterStrategy therefore treated every inbound attribute name as unfiltered. This maps to CWE-20 (Improper Input Validation): the root cause is trusting externally controlled header names, including reserved Camel control headers that steer producer behaviour (CamelHttpUri, CamelFileName, CamelSqlQuery, etc.). These injected headers also survive internal direct:, seda: and vm: hops, so their influence propagates through the whole route.
Know when Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attacker needs sqs:SendMessage on the queue (PR:L) and a header-sensitive downstream producer must exist (AC:H); impact is chiefly integrity via header injection, with variable confidentiality and no direct availability loss.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Blast Radius
ecosystem impact- 17 maven packages depend on org.apache.camel:camel-aws2-sqs (9 direct, 8 indirect)
Ecosystem-wide dependent count for version 4.0.0.
Articles & Coverage 5
Executive ViewAI
A critical vulnerability in Apache Camel's AWS SQS integration allows authenticated message senders to inject headers that redirect network traffic, rename files, or alter database queries in connected systems. Organizations using Camel to orchestrate workflows between SQS and other enterprise systems face data integrity and lateral movement risks from employees or third parties with SQS access. An available patch addresses this design flaw and should be deployed immediately.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0
The XSLT component in Apache Camel before 2.11.4 and 2.12.x before 2.12.3 allows remote attackers to read arbitrary file
Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri
The XSLT component in Apache Camel 2.11.x before 2.11.4, 2.12.x before 2.12.3, and possibly earlier versions allows remo
Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria
Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18
Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely
The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-se
The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arb
The camel-hessian component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-s
Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arb
EUVD-2026-41830
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB