# CVE-2021-32651: LDAP injection via OneDev may leak some LDAP directory information

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-01T17:15:12.000Z
- Modified: 2026-06-17T03:53:21.093Z
- Weaknesses: CWE-90
- Assigned by: GitHub_M

## Description

OneDev is a development operations platform. If the LDAP external authentication mechanism is enabled in OneDev versions 4.4.1 and prior, an attacker can manipulate a user search filter to send forged queries to the application and explore the LDAP tree using Blind LDAP Injection techniques. The specific payload depends on how the User Search Filter property is configured in OneDev. This issue was fixed in version 4.4.2.

(As written by CVE List.)

## Affected

- theonedev onedev: <= 4.4.1
- onedev_project onedev: before 4.4.2

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/theonedev/onedev/security/advisories/GHSA-5864-2496-4xjf> (exploit, third-party-advisory)
- <https://github.com/theonedev/onedev/commit/4440f0c57e440488d7e653417b2547eaae8ad19c> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-32651](https://www.cve.org/CVERecord?id=CVE-2021-32651), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32651](https://nvd.nist.gov/vuln/detail/CVE-2021-32651), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32651 · Whole record: https://cve.day/CVE-2021-32651.json · Rebuilt by cve.day 2026-11-25T22:58:01.611Z
