CVE-2026-62155: EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) Injection

CVE-2026-62155

NVD

Vulnerability Summary

mongo_fdw builds the mongodb:// connection URI by inserting option values without percent-encoding them, so URI metacharacters (@ : / ? # & =) in a value are parsed as part of the URI structure. A role that is not a superuser but has USAGE on a foreign server can set the username and password options in its own user mapping. An @ or other metacharacter in those values can point the connection at a host the attacker controls, allowing connection redirection, credential capture and man-in-the-middle attacks. Server-level options such as the address, database and replica set can be injected the same way. The issue is fixed in mongo_fdw 5.6.0. From mongo_fdw 5.6.0, mongo_fdw builds the URI with the libmongoc URI API, which encodes credentials, and rejects URI metacharacters in the other option values.
Severity Level
MEDIUM(5.3)
Published Date
Nov 25, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.62%Probability
Root Weakness (CWE)
The product constructs all or part of a command, data structure, or record using externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
The product constructs a string for a command to be executed by a separate component, but it does not properly delimit the intended arguments, options, or switches within that string.
CVSS v4.0 Base Metrics — Score 5.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) < 5.6.0
Patched Versions
  • EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) 5.6.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 25, 2026Published
  • Nov 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw) CVEsYou are reading CVE-2026-62155. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 06:16 UTC