CVE-2026-40459
Received Received - Intake

LDAP Injection in PAC4J Allows Unauthorized Directory Operations

Vulnerability report for CVE-2026-40459, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-17

Last updated on: 2026-04-20

Assigner: CERT.PL

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-17
Last Modified
2026-04-20
Generated
2026-07-06
AI Q&A
2026-04-17
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
pac4j pac4j From 4.0.0 (inc) to 4.5.10 (exc)
pac4j pac4j From 5.0.0 (inc) to 5.7.10 (exc)
pac4j pac4j From 6.0.0 (inc) to 6.4.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

PAC4J is vulnerable to LDAP Injection in multiple methods. This means that a low-privileged remote attacker can inject specially crafted LDAP syntax into ID-based search parameters. As a result, the attacker may be able to perform unauthorized LDAP queries and execute arbitrary directory operations.

Impact Analysis

This vulnerability can allow an attacker with low privileges to perform unauthorized LDAP queries and arbitrary directory operations. This could lead to unauthorized access to sensitive directory information, modification or deletion of directory data, and potentially compromise the security and integrity of the system relying on PAC4J.

Mitigation Strategies

To mitigate this LDAP Injection vulnerability in PAC4J, you should upgrade PAC4J to one of the fixed versions: 4.5.10, 5.7.10, or 6.4.1.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-40459. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart