Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The python-ldap package before 3.4.5 has a flaw in ldap.filter.escape_filter_chars: when escape_mode=1 is set (a non-default option) and a list or dict is passed as assertion_value, special characters may not be escaped. An attacker who controls that input in an application relying on this function could perform LDAP injection to read or modify directory data they should not access. Upgrade to python-ldap 3.4.5 or later. The source gives no other workaround beyond avoiding escape_mode=1 with untrusted input.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.5 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0032, the 25th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r7r6-cc7p-4v5m
- OSV: GHSA-r7r6-cc7p-4v5m
- github.com/python-ldap/python-ldap/security/advisories/GHSA-r7r6-cc7p-4v5m
- nvd.nist.gov/vuln/detail/CVE-2025-61911
- github.com/python-ldap/python-ldap/commit/3957526fb1852e84b90f423d9fef34c7af25b85a
- github.com/python-ldap/python-ldap
- github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5