{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.5.10"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.7.10"
              },
              {
                "introduced": "6.0.0"
              },
              {
                "fixed": "6.4.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "332a4f2d38015495108b225a3f7353a165969f90"
            },
            {
              "fixed": "773ecd47b45a9e23c0ec72a3a7acc2588324edb2"
            },
            {
              "introduced": "c4aa7948f21985f9acc6778414afc9719c79befb"
            },
            {
              "fixed": "735e3e573dfa90e0361cc0ca66274cacd0d6788f"
            },
            {
              "introduced": "355a7201cb9a1e5ded694683464332418802cac8"
            },
            {
              "fixed": "b28a5e1705ed4830e2d7caf2361ee8123d74dcf1"
            }
          ],
          "repo": "https://github.com/pac4j/pac4j",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CERT-PL",
    "cwe_ids": [
      "CWE-90"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40459.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.0"
          },
          {
            "fixed": "4.5.10"
          },
          {
            "introduced": "5.0"
          },
          {
            "fixed": "5.7.10"
          },
          {
            "introduced": "6.0"
          },
          {
            "fixed": "6.4.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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",
  "id": "CVE-2026-40459",
  "modified": "2026-07-08T05:39:23.119365848Z",
  "published": "2026-04-17T13:18:39.181Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://cert.pl/en/posts/2026/04/CVE-2026-40458/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40459.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40459"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.pac4j.org/blog/security-advisory-pac4j-core-and-ldap.html"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LDAP Injection in PAC4J"
}