Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Databases

CVE-2026-62155 — EnterpriseDB MongoDB Foreign Data Wrapper (mongo fdw)

Medium · CVSS 5.3EPSS 0.6% First seen November 25, 2026

One of 2 EnterpriseDB MongoDB Foreign Data Wrapper (mongo fdw) vulnerabilities published together by NVD: our article covers all of them.

DatabasesVulnerabilities

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.3 CVSS 4.0 base score from the CNA

An attacker with a normal user account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, a normal user account
User action needed
no
Impact
low on confidentiality and integrity, none on availability
Impact on other systems
none

Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Affected and fixed versions

ProductAffected versionsFixed in
EnterpriseDB MongoDB Foreign Data Wrapper (mongo fdw)< 5.6.05.6.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • EnterpriseDB MongoDB Foreign Data Wrapper (mongo fdw)

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-62155?

mongofdw 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. Weakness type: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74).

How severe is CVE-2026-62155?

CVE-2026-62155 has a CVSS 4.0 base score of 5.3 (medium), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action.

Is CVE-2026-62155 being exploited?

Not as far as is known: CVE-2026-62155 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-62155?

EnterpriseDB MongoDB Foreign Data Wrapper (mongo fdw) < 5.6.0 (fixed in 5.6.0).

How do I fix CVE-2026-62155?

Update to a fixed release: EnterpriseDB MongoDB Foreign Data Wrapper (mongo fdw) 5.6.0.

Timeline & sources

References