Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ldap/spring-ldap-core
  4. ›
  5. CVE-2026-41720

CVE-2026-41720: Spring LDAP has Authentication Bypass with Empty Password

June 9, 2026 (updated July 29, 2026)

Spring LDAP’s DirContextAuthenticationStrategy implementations do not reject a bind request where a non-empty username is paired with an empty or null password.

Affected versions: Spring LDAP 2.4.0 through 2.4.4; 3.2.0 through 3.2.17; 3.3.0 through 3.3.7; 4.0.0 through 4.0.3.

References

  • github.com/advisories/GHSA-jrv5-8w28-4265
  • github.com/spring-projects/spring-ldap/commit/30b90c9fb61af87208ed051fc31349ef4d418f75
  • github.com/spring-projects/spring-ldap/commit/5cc73a6b7fb1d2bcb950c4d69221c6d192d79795
  • github.com/spring-projects/spring-ldap/commit/e2748d44bdce4f6cb4663b9b8d8462e34808f09c
  • github.com/spring-projects/spring-ldap/issues/407
  • github.com/spring-projects/spring-ldap/releases/tag/3.3.8
  • github.com/spring-projects/spring-ldap/releases/tag/4.0.4
  • nvd.nist.gov/vuln/detail/CVE-2026-41720
  • spring.io/security/cve-2026-41720

Code Behaviors & Features

Detect and mitigate CVE-2026-41720 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.4.4, all versions starting from 3.2.0 up to 3.2.16, all versions starting from 3.3.0 before 3.3.8, all versions starting from 4.0.0 before 4.0.4

Fixed versions

  • 3.3.8
  • 4.0.4

Solution

Upgrade to versions 3.3.8, 4.0.4 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

maven/org.springframework.ldap/spring-ldap-core/CVE-2026-41720.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:57 +0000.