CVE-2026-62155: EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) · Injection
Affects EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw)Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 5.6.0 when convenient.
Data as of 25 Nov 2026, 17:24 UTC
Thin evidence
One scorer or none| CNA (EDB) | CVSS 4.0 | 5.3 |
|---|
- Patch
- Available – fixed in 5.6.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) to 5.6.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| EnterpriseDBMongoDB Foreign Data Wrapper (mongo_fdw) | Affected
| Fixed in
|
GitHubMongoDB Foreign Data Wrapper (mongo_fdw)pkg:github/MongoDB Foreign Data Wrapper (mongo_fdw)Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade mongo_fdw to version 5.6.0 or later, where the vulnerability is fixed by proper URI encoding using the libmongoc URI API. This update prevents injection of URI metacharacters and rejects invalid option values. No other mitigation is required once the upgrade is applied.
Description
CVE-2026-62155 is an injection vulnerability in EnterpriseDB's MongoDB Foreign Data Wrapper (mongo_fdw) prior to version 5.6.0. The issue arises because mongo_fdw constructs the mongodb:// connection URI by inserting option values without percent-encoding, allowing URI metacharacters in username, password, or server options to be interpreted as part of the URI structure. This can enable a non-superuser role with USAGE privileges on a foreign server to redirect connections to an attacker-controlled host, potentially capturing credentials and enabling man-in-the-middle attacks. The vulnerability is fixed in version 5.6.0, where the URI is built using the libmongoc URI API, which properly encodes credentials and rejects metacharacters in other options.