URI Injection Vulnerability in MongoDB Foreign Data Wrapper by EnterpriseDB
CVE-2026-62155
Key Information:
- Vendor
Enterprisedb
- Vendor
- CVE Published:
- 25 November 2026
What is CVE-2026-62155?
The MongoDB Foreign Data Wrapper (mongo_fdw) is susceptible to URI injection, wherein special characters in connection option values are not percent-encoded. This deficiency permits a non-superuser role with usage rights to craft malicious connection strings, directing traffic to attacker-controlled hosts. Such manipulation enables credential capture and poses risks of man-in-the-middle attacks, as attackers can exploit injected options, leading to unauthorized access to databases and other sensitive resources. The vulnerability has been addressed in version 5.6.0, which employs the libmongoc URI API to securely encode credentials and validate option values, mitigating the risk of exploitation.
Affected Version(s)
MongoDB Foreign Data Wrapper (mongo_fdw) 0 < 5.6.0
