URI Injection Vulnerability in MongoDB Foreign Data Wrapper by EnterpriseDB
CVE-2026-62155

5.3MEDIUM

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

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.