{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40459 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40459 is a high-severity vulnerability in PAC4J, published on 17 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40459 and fix it if it is affected.\n\nWhat it is: CVE-2026-40459 is a high-severity vulnerability in PAC4J, published on 17 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40459 in the wild and no public exploit code.\n\nAffected product: PAC4J. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40459/ (Markdown: https://insights.sbomify.com/CVE-2026-40459/index.md)","id":"CVE-2026-40459","markdown":"https://insights.sbomify.com/CVE-2026-40459/index.md","name":"CVE-2026-40459","record":{"aliases":["CLEANSTART-2026-YN41310","GHSA-3jrj-7493-fgq2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Java security library","requires_auth":"low_privilege","summary":"A low-privileged attacker can inject LDAP syntax into PAC4J search parameters to perform unauthorized directory queries and operations.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[{"product":"pac4j","vendor":"pac4j"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-90","name":"Improper Neutralization of Special Elements used in an LDAP Query"}],"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.\n\nThis issue was fixed in PAC4J versions 4.5.10, 5.7.10 and 6.4.1","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LDAP Injection in PAC4J","id":"CVE-2026-40459","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"NGINX ngx_quic_module vulnerability","id":"CVE-2026-40460"},"packages":[],"prev":{"headline":"Cross-Site Request Forgery in PAC4J","id":"CVE-2026-40458"},"products":["PAC4J"],"published":"2026-04-17","related":[{"cvss_score":7.5,"headline":"Pac4j token validation bypass if OpenID Connect provider supports none algorithm","id":"CVE-2021-44878","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":7,"headline":"Cross-Site Request Forgery in PAC4J","id":"CVE-2026-40458","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":4.9,"headline":"Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml","id":"CVE-2019-10755","kev_date_added":null,"published":"2019-09-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-17","vendors":["PAC4J"]},"summary":"A low-privileged attacker can inject LDAP syntax into PAC4J search parameters to perform unauthorized directory queries and operations.","url":"https://insights.sbomify.com/CVE-2026-40459/"}