Use of Hard-coded Credentials Affecting org.springframework.ldap:spring-ldap-test package, versions [,4.0.7)[4.1.0,4.1.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Hard-coded Credentials vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKLDAP-22732897
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59367  (opens in a new tab)
CWE-798  (opens in a new tab)

How to fix?

Upgrade org.springframework.ldap:spring-ldap-test to version 4.0.7, 4.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Use of Hard-coded Credentials via the EmbeddedLdapServer process. An attacker can gain unauthorized administrative access and perform arbitrary read, add, modify, and delete operations in the embedded directory by connecting to the server using the hardcoded credentials over the network. This is only exploitable if the host running the server is reachable by an untrusted party, such as in a shared CI environment, development network, or a container with a published port.

CVSS Base Scores

version 3.1