GHSA-f7g3-2cg6-f5hj
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Given the default header-driven route bridged from unauthenticated HTTP, exploitation is network-based with no auth or interaction (AV:N/AC:L/PR:N/UI:N) and yields full read/delete/enumerate impact (C/I/A:H).
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
6Blast Radius
ecosystem impact- 9 maven packages depend on org.apache.camel:camel-mongodb-gridfs (3 direct, 6 indirect)
Ecosystem-wide dependent count for version 4.0.0.
Description PRE-NVD
Articles & Coverage 4
AnalysisAI
Unauthenticated NoSQL operation hijacking in Apache Camel's camel-mongodb-gridfs component (4.0.0-4.14.7, 4.15.0-4.18.2, 4.19.0-4.20.x) lets a remote HTTP client override the intended GridFS operation and inject MongoDB query documents. When a route bridges an HTTP consumer such as platform-http into a mongodb-gridfs: producer that has no explicit operation set (the default), the raw gridfs.operation, gridfs.objectid and gridfs.metadata headers pass through the HTTP header filter because they lack the Camel/camel prefix, allowing an attacker to turn an intended upload into remove, listAll, or findOne and to inject NoSQL operators. There is no public exploit identified at time of analysis and EPSS is low (0.16%), but CVSS is 9.8 and SSVC rates technical impact as total and automatable.
Technical ContextAI
Apache Camel is a widely used Java enterprise-integration framework whose routes move messages between components via an Exchange carrying headers. The camel-mongodb-gridfs producer talks to MongoDB GridFS, a specification for storing large binary files as chunked documents in a MongoDB bucket. The producer chooses its action from the gridfs.operation Exchange header whenever the endpoint's operation parameter is unset. The root cause (CWE-20, Improper Input Validation, combined with improper access control) is that the control-header constants were defined as the bare strings gridfs.operation, gridfs.objectid, gridfs.metadata, gridfs.chunksize and gridfs.fileid. HttpHeaderFilterStrategy only strips headers in the Camel/camel namespace at the HTTP boundary, so these un-prefixed control headers were never filtered out and flowed from an inbound HTTP request directly into the Exchange, letting untrusted input drive privileged data-layer operations and be parsed as a MongoDB document.
RemediationAI
Vendor-released patch: upgrade to Apache Camel 4.21.0, which fixes the issue; on the 4.14.x LTS stream upgrade to 4.14.8, and on the 4.18.x stream upgrade to 4.18.3, per https://camel.apache.org/security/CVE-2026-48204.html. After upgrading, any route that drives GridFS operations or metadata through the raw header names must be updated to use the new prefixed constants CamelGridFsOperation, CamelGridFsObjectId, CamelGridFsMetadata, CamelGridFsChunkSize and CamelGridFsFileId instead of the gridfs.* names, or those operations will stop working. For deployments that cannot upgrade immediately, set an explicit operation parameter on the mongodb-gridfs: endpoint so the operation is never taken from a header, and strip all gridfs.* headers from untrusted ingress before the producer (for example with a removeHeaders step on the inbound HTTP route); the trade-off is that legitimate clients relying on header-driven operation selection must be reworked, and the header-stripping filter must be kept in sync with the full set of gridfs.* control headers.
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
Same weakness CWE-20 – Improper Input Validation
View allSame technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41839