CVE-2026-40459 | PAC4J up to 4.5.9/5.7.9/6.4.0 LDAP Search ldap injection
VulDBArchived Apr 17, 2026✓ Full text saved
A vulnerability classified as critical has been found in PAC4J up to 4.5.9/5.7.9/6.4.0 . Impacted is an unknown function of the component LDAP Handler . Performing a manipulation of the argument Search results in ldap injection. This vulnerability is reported as CVE-2026-40459 . The attack is possible to be carried out remotely. No exploit exists. It is recommended to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358078 · CVE-2026-40459 · GCVE-0-2026-40459
PAC4J UP TO 4.5.9/5.7.9/6.4.0 LDAP SEARCH LDAP INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.0 $0-$5k 5.05+
Summaryinfo
A vulnerability classified as critical was found in PAC4J up to 4.5.9/5.7.9/6.4.0. The affected element is an unknown function of the component LDAP Handler. Executing a manipulation of the argument Search can lead to ldap injection. This vulnerability appears as CVE-2026-40459. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is advised.
Detailsinfo
A vulnerability has been found in PAC4J up to 4.5.9/5.7.9/6.4.0 and classified as critical. This vulnerability affects an unknown function of the component LDAP Handler. The manipulation of the argument search with an unknown input leads to a ldap injection vulnerability. The CWE definition for the vulnerability is CWE-90. The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
PAC4J is vulnerable to LDAP Injection in multiple methods. A low-privileged remote attacker can inject crafted LDAP syntax into ID-based search parameters, potentially resulting in unauthorized LDAP queries and arbitrary directory operations. This issue was fixed in PAC4J versions 4.5.10, 5.7.10 and 6.4.1
The weakness was presented by Bartłomiej Dmitruk. The advisory is available at cert.pl. This vulnerability was named CVE-2026-40459 since 04/13/2026. The exploitation appears to be easy. The attack can be initiated remotely. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1505 by the MITRE ATT&CK project.
Upgrading to version 4.5.10, 5.7.10 or 6.4.1 eliminates this vulnerability.
Productinfo
Name
PAC4J
Version
4.5.0
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.5.7
4.5.8
4.5.9
5.7.0
5.7.1
5.7.2
5.7.3
5.7.4
5.7.5
5.7.6
5.7.7
5.7.8
5.7.9
6.0
6.1
6.2
6.3
6.4.0
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Ldap injection
CWE: CWE-90 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: PAC4J 4.5.10/5.7.10/6.4.1
Timelineinfo
04/13/2026 CVE reserved
04/17/2026 +4 days Advisory disclosed
04/17/2026 +0 days VulDB entry created
04/17/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: cert.pl
Researcher: Bartłomiej Dmitruk
Status: Confirmed
CVE: CVE-2026-40459 (🔒)
GCVE (CVE): GCVE-0-2026-40459
GCVE (VulDB): GCVE-100-358078
Entryinfo
Created: 04/17/2026 17:02
Changes: 04/17/2026 17:02 (67)
Complete: 🔍
Cache ID: 99:C33:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸