CVE-2026-34578
Description
OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.6, OPNsense's LDAP authentication connector passes the login username directly into an LDAP search filter without calling ldap_escape(). An unauthenticated attacker can inject LDAP filter metacharacters into the username field of the WebGUI login page to enumerate valid LDAP usernames in the configured directory. When the LDAP server configuration includes an Extended Query to restrict login to members of a specific group, the same injection can be used to bypass that group membership restriction and authenticate as any LDAP user whose password is known, regardless of group membership. This vulnerability is fixed in 26.1.6.
Affected products
1Patches
1016f66cb4620Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
2- github.com/opnsense/core/commit/016f66cb4620cd48183fa97843f343bb71813c6envdPatch
- github.com/opnsense/core/security/advisories/GHSA-jpm7-f59c-mp54nvdExploitMitigationVendor Advisory
News mentions
0No linked articles in our index yet.