SecurityContext

CVE-2026-46456: Apache Camel AWS2-SQS Component - Improper Input Validation

  • Cve: CVE-2026-46456
  • Name: Apache Camel AWS2-SQS Component - Improper Input Validation
  • Description: Improper Input Validation vulnerability in Apache Camel AWS2-SQS Component. The camel-aws2-sqs component map inbound message attributes into the Camel Exchange through a component-specific HeaderFilterStrategy. Sqs2HeaderFilterStrategy configured only an outbound filter (setOutFilterPattern, which blocks Camel*, breadcrumbId and org.apache.camel.* headers being written to the broker) but did not configure an inbound filter. As a result, when Sqs2Consumer copies each SQS MessageAttribute into the Exchange via HeaderFilterStrategy.applyFilterToExternalHeaders, DefaultHeaderFilterStrategy applied no inbound rule and treated every header name as not filtered - including Camel-internal control headers such as CamelHttpUri, CamelFileName or CamelSqlQuery - copying them unmodified onto the Camel message. Any principal able to send messages to the consumed SQS queue (for example a cross-account sender or a lower-privileged in-account component holding sqs:SendMessage) could therefore set arbitrary Camel control headers that influence the behaviour of downstream producers in the route (for example redirecting an HTTP producer, changing a file name, or overriding a query); the injected headers also persist across internal direct, seda and vm hops. The concrete downstream impact depends on which producers the route uses. 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. Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix adds an inbound HeaderFilterStrategy rule to Sqs2HeaderFilterStrategy that filters the Camel header namespace case-insensitively on inbound mapping, so sender-supplied Camel* / camel* headers are no longer copied into the Exchange. For deployments that cannot upgrade immediately, strip the Camel control headers from inbound messages before they reach any downstream producer (for example removeHeaders('Camel*') and removeHeaders('camel*') at the start of the route), and restrict who may send to the consumed SQS queue by applying least-privilege sqs:SendMessage permissions on the queue resource policy.
  • Impact: Attackers can manipulate downstream producer behavior by injecting arbitrary control headers, potentially redirecting requests or altering file names and queries.
  • Remediation: Upgrade to Apache Camel version 4.21.0, or 4.14.8 for 4.14.x LTS, or 4.18.3 for 4.18.x releases. Alternatively, strip Camel control headers inbound and restrict SQS send permissions.
  • Vulnerability type: improper_input_validation
  • Vulnerability impact: data_tampering
  • Requirements: Attacker must have permission to send messages to the consumed SQS queue
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00791
  • Epss percentile: 0.57058
  • Assignee: [email protected]
  • Published at: 2026-07-06T09:16:36Z
  • Age in days: 141
  • Modified at: 2026-10-25T15:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-46456
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://github.com/oscerd/CVE-2026-46456poc-in-github2026-07-13

References

UrlSourceTags
https://camel.apache.org/security/CVE-2026-46456.htmlnvdMitigation, Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/07/05/9nvdMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:camel>= 4.19.0, < 4.21.0; >= 4.15.0, < 4.18.3; >= 4.0.0, < 4.14.8nonvd/v1/products/apache/camel

Projects

RepositoryLink kindsIndexedUrl
apache/camelcommit, package, pull, releasesyes/v1/repositories/apache/camel

Index

  • Repositories: 4
  • Repositories high signal: 2
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-07-13
  • Remote: yes
  • Exposed hosts: 135968
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports