---
title: "CVE-2026-48204: Apache Camel: camel-mongodb-gridfs producer allows GridFS operation override and NoSQL operator injection via unfiltered  gridfs.*  HTTP headers"
url: https://erroneo.us/security/cve/CVE-2026-48204/
description: "CVE-2026-48204 (org.apache.camel:camel-mongodb-gridfs (Maven)): Improper Input Validation, Improper Access Control vulnerability in Apache Camel in Camel…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-07-06
date_modified: 2026-07-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-48204"
kev: false
cvss: 9.8
epss: 0.00732
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-48204: Apache Camel: camel-mongodb-gridfs producer allows GridFS operation override and NoSQL operator injection via unfiltered  gridfs.*  HTTP headers

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.7% , percentile 54: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 54% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes org.apache.camel:camel-mongodb-gridfs (Maven) >= 4.0.0, < 4.14.8, fixed in 4.14.8 ; org.apache.camel:camel-mongodb-gridfs (Maven) >= 4.15.0, < 4.18.3, fixed in 4.18.3 ; org.apache.camel:camel-mongodb-gridfs (Maven) >= 4.19.0, < 4.21.0, fixed in 4.21.0 . Check your lockfile, including transitive dependencies.

## What it is

Improper Input Validation, Improper Access Control vulnerability in Apache Camel in Camel Mongodb Gridfs component. The camel-mongodb-gridfs producer selects the GridFS operation to perform from the gridfs.operation Exchange header when the endpoint's operation parameter is not set - which is the default. The control-header constants (GridFsConstants.GRIDFSOPERATION, GRIDFSOBJECTID, GRIDFSMETADATA, GRIDFSCHUNKSIZE, GRIDFSFILEIDPRODUCED) were the plain strings gridfs.operation, gridfs.objectid, gridfs.metadata, gridfs.chunksize and gridfs.fileid. Because these names do not start with the Camel / camel prefix, HttpHeaderFilterStrategy - which blocks only the Camel header namespace on the HTTP boundary - let them pass from an inbound HTTP request straight into the Exchange. In a route that bridges an HTTP consumer (for example platform-http) into a mongodb-gridfs: producer with no explicit operation, any HTTP client could therefore set the gridfs.operation header to override the route's intended operation - switching, for example, a file upload to remove (deleting a file identified by the attacker-supplied gridfs.objectid), listAll (enumerating every file in the bucket) or findOne (reading a file) - and supply a gridfs.metadata value that is parsed as a MongoDB document, enabling NoSQL operator injection. No credentials are required when the bridging consumer is unauthenticated. 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. After upgrading, routes that drive GridFS operations or metadata via the raw header names must use CamelGridFsOperation / CamelGridFsObjectId / CamelGridFsMetadata / CamelGridFsChunkSize / CamelGridFsFileId instead of the gridfs. names. For deployments that cannot upgrade immediately, set an explicit operation on the mongodb-gridfs: endpoint so the operation is not taken from a header, and strip the gridfs. headers from any untrusted ingress before the producer.

## Affected packages

- Maven `org.apache.camel:camel-mongodb-gridfs` >= 4.0.0, < 4.14.8 → fixed: 4.14.8
- Maven `org.apache.camel:camel-mongodb-gridfs` >= 4.15.0, < 4.18.3 → fixed: 4.18.3
- Maven `org.apache.camel:camel-mongodb-gridfs` >= 4.19.0, < 4.21.0 → fixed: 4.21.0

## Affected products (CVE record)

- Apache Software Foundation Apache Camel: 4.0.0 < 4.14.8, 4.15.0 < 4.18.3, 4.19.0 < 4.21.0

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.73% probability of exploitation activity in the next 30 days; percentile 54.

## Sources

- [camel.apache.org](https://camel.apache.org/security/CVE-2026-48204.html)
- [GitHub Advisory GHSA-f7g3-2cg6-f5hj](https://github.com/advisories/GHSA-f7g3-2cg6-f5hj)
- [CVE.org record CVE-2026-48204](https://www.cve.org/CVERecord?id=CVE-2026-48204)
- [NVD entry CVE-2026-48204](https://nvd.nist.gov/vuln/detail/CVE-2026-48204)
- [openwall.com](http://www.openwall.com/lists/oss-security/2026/07/05/18)
- [github.com](https://github.com/apache/camel/commit/8f0b1acfb89867bc28805d8281fa5c70192e2122)
- [issues.apache.org](https://issues.apache.org/jira/browse/CAMEL-23575)

---
Source page: https://erroneo.us/security/cve/CVE-2026-48204/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
