CVE-2026-34578
CVE-2026-34578 is a high-severity vulnerability in Opnsense with a CVSS 3.x base score of 8.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-90.
Key facts
- Severity: High (CVSS 3.x base score 8.2)
- EPSS exploit prediction: 0% (33rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-20896
- Weakness: CWE-90
- Affected product: Opnsense
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-34578?
- 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.
- How severe is CVE-2026-34578?
- CVE-2026-34578 has a CVSS 3.x base score of 8.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability none.
- Is CVE-2026-34578 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (33rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34578?
- CVE-2026-34578 affects Opnsense. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-34578?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-34578 have an EU (EUVD) identifier?
- Yes. CVE-2026-34578 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-20896.
- When was CVE-2026-34578 published?
- CVE-2026-34578 was published on 2026-04-09 and last updated on 2026-06-17.
References
- https://github.com/opnsense/core/commit/016f66cb4620cd48183fa97843f343bb71813c6e
- https://github.com/opnsense/core/security/advisories/GHSA-jpm7-f59c-mp54
Affected products (1)
- cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*:*
More vulnerabilities in Opnsense
- CVE-2023-27152 — Critical (CVSS 9.8): DECISO OPNsense 23.1 does not impose rate limits for authentication, allowing attackers to perform a brute-force attack…
- CVE-2023-39008 — Critical (CVSS 9.8): A command injection vulnerability in the component /api/cron/settings/setJob/ of OPNsense Community Edition before 23.7…
- CVE-2023-39004 — Critical (CVSS 9.8): Insecure permissions in the configuration directory (/conf/) of OPNsense Community Edition before 23.7 and Business…
- CVE-2023-39001 — Critical (CVSS 9.8): A command injection vulnerability in the component diag_backup.php of OPNsense Community Edition before 23.7 and…
- CVE-2023-39007 — Critical (CVSS 9.6): /ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2…
- CVE-2026-45158 — Critical (CVSS 9.1): OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.8, unsanitized user input is passed to the…
Other CWE-90 (LDAP Injection) vulnerabilities
- CVE-2026-44930 — Critical (CVSS 9.8): An LDAP injection vulnerability in the LDAP Certificate repository of the XKMS server in Apache CXF may allow an…
- CVE-2026-25560 — Critical (CVSS 9.8): WeKan versions prior to 8.19 contain an LDAP filter injection vulnerability in LDAP authentication. User-supplied…
- CVE-2024-54852 — Critical (CVSS 9.8): When LDAP connection is activated in Teedy versions between 1.9 to 1.12, the username field of the login form is…
- CVE-2024-33868 — Critical (CVSS 9.8): An issue was discovered in linqi before 1.4.0.1 on Windows. There is LDAP injection.
- CVE-2011-4069 — Critical (CVSS 9.8): html/admin/login.php in PacketFence before 3.0.2 allows remote attackers to conduct LDAP injection attacks and…
- CVE-2017-14596 — Critical (CVSS 9.8): In Joomla! before 3.8.0, inadequate escaping in the LDAP authentication plugin can result in a disclosure of a username…