CVE-2026-10052: Quay/config-tool: quay/config-tool: ssrf via unfiltered ldap and smtp config validation endpoints
A flaw was found in the Quay config-tool's LDAP and SMTP validation functions. An attacker with config editor access can exploit these functions, which make outbound connections to user-supplied endpoints without proper IP or host filtering. This allows the attacker to perform internal network reconnaissance from the Quay pod's network position, potentially mapping the internal network infrastructure.
Other sources
The Quay config-tool's LDAP and SMTP validation functions in pkg/lib/shared/validators.go make outbound connections to user-supplied endpoints with no IP/host filtering. ValidateEmailServer calls net.DialTimeout to the configured mail server, and ValidateLDAPServer calls ldap.DialURL to the configured LDAP URI. An attacker with config editor access (HTTP Basic Auth on the config-tool editor, Quay <= 3.16) can exploit these to perform internal network reconnaissance from the Quay pod's network position. The config editor web application was removed in Quay 3.17, limiting the attack vector to CLI or container startup in newer versions. The LDAP validator also accepts the ldapi:// scheme and reflects LDAP result codes in error messages. The GitLab OAuth validator separately exposes clientsecret in URL querystrings (CWE-598).
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Quay/config-toolto a version that resolves this vulnerability.Fixed in 3.17 - Compensating control
Restrict access to the Quay config-tool config editor (HTTP Basic Auth on the config-tool editor) to prevent attackers from reaching the LDAP/SMTP validation endpoints that make outbound connections to user-supplied endpoints without IP/host filtering.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-10052?
The severity of CVE-2026-10052 is rated as medium with a score of 4.1.
How do I fix CVE-2026-10052?
To fix CVE-2026-10052, ensure that proper IP or host filtering is implemented in the Quay config-tool's LDAP and SMTP validation functions.
What are the potential impacts of CVE-2026-10052?
The potential impacts of CVE-2026-10052 include unauthorized internal network reconnaissance due to improper handling of outbound connections.
Who can exploit CVE-2026-10052?
An attacker with config editor access can exploit CVE-2026-10052 due to the lack of adequate filtering.
What type of vulnerability is CVE-2026-10052 classified as?
CVE-2026-10052 is classified as a Server Side Request Forgery (SSRF) vulnerability.