📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global insider Education HIGH 4h Global supply_chain Software Development and Technology HIGH 10h Global apt Government/Critical Infrastructure CRITICAL 11h Global vulnerability Enterprise Software / Data Analytics CRITICAL 12h Global vulnerability Artificial Intelligence and Technology HIGH 15h Global general Technology and Artificial Intelligence MEDIUM 19h Global general Technology and Artificial Intelligence HIGH 20h Global vulnerability Higher Education CRITICAL 1d Global data_breach Government HIGH 1d Global supply_chain Software Development and Open Source Communities CRITICAL 1d Global insider Education HIGH 4h Global supply_chain Software Development and Technology HIGH 10h Global apt Government/Critical Infrastructure CRITICAL 11h Global vulnerability Enterprise Software / Data Analytics CRITICAL 12h Global vulnerability Artificial Intelligence and Technology HIGH 15h Global general Technology and Artificial Intelligence MEDIUM 19h Global general Technology and Artificial Intelligence HIGH 20h Global vulnerability Higher Education CRITICAL 1d Global data_breach Government HIGH 1d Global supply_chain Software Development and Open Source Communities CRITICAL 1d Global insider Education HIGH 4h Global supply_chain Software Development and Technology HIGH 10h Global apt Government/Critical Infrastructure CRITICAL 11h Global vulnerability Enterprise Software / Data Analytics CRITICAL 12h Global vulnerability Artificial Intelligence and Technology HIGH 15h Global general Technology and Artificial Intelligence MEDIUM 19h Global general Technology and Artificial Intelligence HIGH 20h Global vulnerability Higher Education CRITICAL 1d Global data_breach Government HIGH 1d Global supply_chain Software Development and Open Source Communities CRITICAL 1d
Vulnerabilities

CVE-2026-40459

High
CWE-90 — Weakness Type
Published: Apr 17, 2026  ·  Modified: Apr 24, 2026  ·  Source: NVD
CVSS v3
8.8
🔗 NVD Official
📄 Description (English)

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

🤖 AI Executive Summary

PAC4J versions prior to 4.5.10, 5.7.10, and 6.4.1 contain an LDAP injection vulnerability (CVE-2026-40459) with CVSS 8.8 that allows low-privileged remote attackers to inject malicious LDAP syntax through ID-based search parameters. This enables unauthorized LDAP queries and arbitrary directory operations, potentially compromising authentication systems and directory services. Organizations using PAC4J for authentication must prioritize immediate patching to prevent unauthorized access to critical systems.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: Apr 23, 2026 09:44
🇸🇦 Saudi Arabia Impact Assessment
Saudi organizations using PAC4J for authentication and directory services face significant risk, particularly: (1) Banking sector (SAMA-regulated institutions) relying on LDAP for employee/customer authentication could experience unauthorized access to financial systems; (2) Government agencies (NCA oversight) using PAC4J for identity management could have directory operations compromised; (3) Healthcare providers using LDAP-based authentication could face patient data exposure; (4) Telecom operators (STC, Mobily) using PAC4J for subscriber management could experience service disruption; (5) Energy sector (ARAMCO, utilities) with LDAP-integrated systems could face operational technology compromise. The vulnerability's low attack complexity and remote exploitability make it particularly dangerous in Saudi's interconnected enterprise environments.
🏢 Affected Saudi Sectors
Banking and Financial Services (SAMA-regulated) Government and Public Administration (NCA oversight) Healthcare and Medical Services Telecommunications (STC, Mobily, Zain) Energy and Utilities (ARAMCO, regional utilities) Education (universities, research institutions) Insurance and Investment Services E-commerce and Digital Services
⚖️ Saudi Risk Score (AI)
8.2
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Identify all systems running PAC4J versions < 4.5.10, < 5.7.10, or < 6.4.1 using software inventory tools
2. Isolate or restrict network access to affected PAC4J instances pending patching
3. Review LDAP query logs for suspicious patterns (unusual characters, wildcard injections, filter manipulation)
4. Monitor authentication failures and successful logins from unusual sources

PATCHING GUIDANCE:
1. Upgrade PAC4J to version 4.5.10, 5.7.10, or 6.4.1 immediately (patch available)
2. Test patches in non-production environments first
3. Coordinate patching with dependent applications (Spring Security, Shiro integrations)
4. Verify LDAP connectivity post-patch

COMPENSATING CONTROLS (if patching delayed):
1. Implement WAF rules to block LDAP injection patterns: *, (, ), &, |, !, =, ~, <, >, /, \
2. Apply input validation/sanitization at application layer for all LDAP search parameters
3. Use LDAP query parameterization/prepared statements exclusively
4. Restrict LDAP service account permissions to minimum required operations
5. Enable LDAP query logging and alerting
6. Implement network segmentation isolating LDAP servers
7. Enforce strong authentication for LDAP service accounts

DETECTION RULES:
1. Monitor for LDAP filter syntax in HTTP parameters: regex patterns containing *, (, ), &, |
2. Alert on LDAP queries with unexpected complexity or length
3. Track failed LDAP bind attempts followed by successful authentication
4. Monitor for directory enumeration patterns (wildcard searches, recursive queries)
5. Log all LDAP operations with source IP and user context
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تقوم بتشغيل إصدارات PAC4J < 4.5.10 أو < 5.7.10 أو < 6.4.1 باستخدام أدوات جرد البرامج
2. عزل أو تقييد الوصول إلى الشبكة لمثيلات PAC4J المتأثرة في انتظار التصحيح
3. مراجعة سجلات استعلامات LDAP للأنماط المريبة (أحرف غير عادية، حقن البدل، معالجة المرشحات)
4. مراقبة فشل المصادقة والتسجيلات الناجحة من مصادر غير عادية

إرشادات التصحيح:
1. ترقية PAC4J إلى الإصدار 4.5.10 أو 5.7.10 أو 6.4.1 فوراً
2. اختبار التصحيحات في بيئات غير الإنتاج أولاً
3. تنسيق التصحيح مع التطبيقات التابعة (تكاملات Spring Security و Shiro)
4. التحقق من اتصال LDAP بعد التصحيح

الضوابط البديلة (إذا تأخر التصحيح):
1. تطبيق قواعد WAF لحجب أنماط حقن LDAP: *, (, ), &, |, !, =, ~, <, >, /, \
2. تطبيق التحقق من الإدخال/التطهير على مستوى التطبيق لجميع معاملات بحث LDAP
3. استخدام معاملات استعلام LDAP/البيانات المحضرة حصراً
4. تقييد أذونات حساب خدمة LDAP للعمليات المطلوبة بحد أدنى
5. تفعيل تسجيل استعلامات LDAP والتنبيهات
6. تطبيق تقسيم الشبكة لعزل خوادم LDAP
7. فرض المصادقة القوية لحسابات خدمة LDAP

قواعد الكشف:
1. مراقبة بناء جملة مرشح LDAP في معاملات HTTP: أنماط regex تحتوي على *, (, ), &, |
2. التنبيه على استعلامات LDAP ذات التعقيد أو الطول غير المتوقع
3. تتبع محاولات ربط LDAP الفاشلة متبوعة بمصادقة ناجحة
4. مراقبة أنماط تعداد الدليل (البحث عن البدل، الاستعلامات العودية)
5. تسجيل جميع عمليات LDAP مع عنوان IP المصدر وسياق المستخدم
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.5.1.1 - Access Control Policies (LDAP injection bypasses authentication controls) ECC 2024 A.5.2.1 - User Registration and Access Rights Management (unauthorized directory operations) ECC 2024 A.5.3.1 - Management of Privileged Access Rights (LDAP service account compromise) ECC 2024 A.6.1.1 - Information Security Policies and Procedures (secure coding for authentication) ECC 2024 A.12.6.1 - Management of Technical Vulnerabilities (patch management requirement)
🔵 SAMA CSF
SAMA CSF ID.AM-2 - Asset Management (inventory PAC4J deployments) SAMA CSF PR.AC-1 - Access Control (authentication system integrity) SAMA CSF PR.AC-4 - Access Rights Management (LDAP directory protection) SAMA CSF DE.CM-1 - Detection and Analysis (monitor LDAP injection attempts) SAMA CSF RS.MI-2 - Incident Mitigation (contain compromised authentication systems)
🟡 ISO 27001:2022
ISO 27001:2022 A.5.15 - Access Control (authentication mechanism security) ISO 27001:2022 A.5.16 - Identity Management (directory service integrity) ISO 27001:2022 A.5.18 - Management of Privileged Access Rights (LDAP account protection) ISO 27001:2022 A.8.1 - Cryptography (secure LDAP communication) ISO 27001:2022 A.12.3.1 - Configuration Management (secure PAC4J configuration) ISO 27001:2022 A.12.6.1 - Management of Technical Vulnerabilities (vulnerability patching)
🟣 PCI DSS v4.0.1
PCI DSS 2.4 - Configure system components securely (PAC4J hardening) PCI DSS 6.2 - Ensure security patches are installed (timely patching) PCI DSS 7.1 - Limit access to system components (LDAP access controls) PCI DSS 8.1 - Assign unique ID to each person (authentication integrity) PCI DSS 10.2 - Implement automated audit trails (LDAP query logging)
📦 Affected Products / CPE 3 entries
pac4j:pac4j
pac4j:pac4j
pac4j:pac4j
📊 CVSS Score
8.8
/ 10.0 — High
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredL — Low / Local
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityH — High
IntegrityH — High
AvailabilityH — High
📋 Quick Facts
Severity High
CVSS Score8.8
CWECWE-90
EPSS0.14%
Exploit No
Patch ✗ No
Published 2026-04-17
Source Feed nvd
Views 4
🇸🇦 Saudi Risk Score
8.2
/ 10.0 — Saudi Risk
Priority: CRITICAL
🏷️ Tags
CWE-90
Share this CVE

💬 Comments

0
Loading comments
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.