CVE-2025-61911: python-ldap has sanitization bypass in ldap.filter.escape_filter_chars
CVE-2025-61911 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Critical
- CVSS vector
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· base score 5.5, scored by GitHub_MAttack vector: network. Attack complexity: low. Attack requirements: none. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: low. Integrity impact on the vulnerable system: low. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-75: Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)
- CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
- EPSS
- 0.32% chance of exploitation in the next 30 days (25th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: proof of concept exists. Automatable: no. Technical impact: partial. CISA, .
- Vendor advisories
- 1 from Splunk
- Assigned by
- GitHub_M (CNA)
- CVE record published
- Listed by VulniPulse
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-61911; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, the sanitization method `ldap.filter.escape_filter_chars` can be tricked to skip escaping of special characters when a crafted `list` or `dict` is supplied as the `assertion_value` parameter, and the non-default `escape_mode=1` is configured. The method `ldap.filter.escape_filter_chars` supports 3 different escaping modes. `escape_mode=0` (default) and `escape_mode=2` happen to raise exceptions when a `list` or `dict` object is supplied as the `assertion_value` parameter. However, `escape_mode=1` computes without performing adequate logic to ensure a fully escaped return value. If an application relies on the vulnerable method in the `python-ldap` library to escape untrusted user input, an attacker might be able to abuse the vulnerability to launch ldap injection attacks which could potentially disclose or manipulate ldap data meant to be inaccessible to them. Version 3.4.5 fixes the issue by adding a type check at the start of the `ldap.filter.escape_filter_chars` method to raise an exception when the supplied `assertion_value` parameter is not of type `str`.
Text from the CVE.org record (GitHub_M).
Vendor advisories for CVE-2025-61911
Splunk
1 advisory- Advisory severityCritical
Critical [CVE-2022-40897 +57] Third-Party Package Updates in Splunk SOAR - November 2026
SVD-2026-1109Source published
This bulletin covers 58 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
Splunk remedied common vulnerabilities and exposures (CVEs) in Third Party Packages in Splunk SOAR version 8.8.0, and higher. Affected product named by the advisory: Splunk SOAR 8.8.
- Affected products in this advisory
- Splunk SOAR 8.8
- Source-reported affected versions
- Splunk SOAR Below 8.8.0
- Source-reported fixed versions
- Splunk SOAR 8.8.0
- Mitigation guidance
- Upgrade Splunk SOAR to version 8.8.0, or higher.
References
- CVE-2025-61911 recordCVE.org
- CVE-2025-61911 detailNVD
- https://github.com/python-ldap/python-ldap/security/advisories/GHSA-r7r6-cc7p-4v5mx_refsource_confirm
- https://github.com/python-ldap/python-ldap/commit/3957526fb1852e84b90f423d9fef34c7af25b85ax_refsource_misc
- https://github.com/python-ldap/python-ldap/releases/tag/python-ldap-3.4.5x_refsource_misc
Timeline
- CVE record published
- CVE record last updated
- First vendor advisory listed by VulniPulse
More Splunk advisories
CVE-2026-131305Nov 19, 2026In Splunk AI Assistant versions below 2.0.0, a user who does not hold the "admin"CVE-2026-131304Nov 19, 2026In Splunk AI Assistant versions below 2.0.0 a user who does not hold the "admin"CVE-2026-131303Nov 19, 2026In Splunk AI Assistant versions below 2.0.0, a user who does not hold the "admin"CVE-2026-131302Nov 19, 2026In Splunk AI Assistant versions below 2.0.0, a user who does not hold the "admin"CVE-2026-131301Nov 19, 2026In Splunk App for Stream versions below 8.1.7, an unauthenticated userCVE-2026-131300Nov 19, 2026In Splunk App for Stream versions below 8.1.7, a user who can read splunkd_access.log
Get an email when Splunk publishes the next one.
See Splunk's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.