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.
References
| Link | Resource |
|---|---|
| https://github.com/opnsense/core/commit/016f66cb4620cd48183fa97843f343bb71813c6e | Patch |
| https://github.com/opnsense/core/security/advisories/GHSA-jpm7-f59c-mp54 | Exploit Mitigation Vendor Advisory |
| https://github.com/opnsense/core/security/advisories/GHSA-jpm7-f59c-mp54 | Exploit Mitigation Vendor Advisory |
Configurations
History
14 Apr 2026, 20:14
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*:* | |
| First Time |
Opnsense opnsense
Opnsense |
|
| References | () https://github.com/opnsense/core/commit/016f66cb4620cd48183fa97843f343bb71813c6e - Patch | |
| References | () https://github.com/opnsense/core/security/advisories/GHSA-jpm7-f59c-mp54 - Exploit, Mitigation, Vendor Advisory |
09 Apr 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/opnsense/core/security/advisories/GHSA-jpm7-f59c-mp54 - |
09 Apr 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-09 15:16
Updated : 2026-04-14 20:14
NVD link : CVE-2026-34578
Mitre link : CVE-2026-34578
CVE.ORG link : CVE-2026-34578
JSON object : View
Products Affected
opnsense
- opnsense
CWE
CWE-90
Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')
