Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIntercept authorization code for public RP
-
DeliveryReplay client_id with arbitrary secret at token endpoint
-
ExploitPublic-RP secret check skipped, PKCE validation passes
-
ExecutionExchange code for access/ID/refresh tokens
-
ImpactImpersonate user / take over session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Strong authentication
|
| Exploitation Conditions | Requires the OIDC Relying Party to be a PUBLIC client configured with oidcRPMetaDataOptionsRequirePKCE set to 2 ('PKCE or secret' mode) on LemonLDAP::NG Portal versions 2.23.0 through 2.23.3. Under this mode the authorization endpoint issues a code even without a code_challenge, and the token endpoint accepts the exchange without verifying the client secret. Critically, the attacker must first INTERCEPT a valid authorization code issued to such a public RP (via redirect leakage, malicious app, or network position) - this is the primary limiting factor. No authentication is required for the token exchange itself (PR:N), and no special user interaction beyond the victim completing a normal login. The exposure is broad wherever Dynamic Client Registration is used, because DCR creates every RP in this vulnerable mode by default. |
| Impact | This is a genuine authentication/authorization-logic flaw (CWE-1390, weak authentication) in the OIDC OpenID Provider of LemonLDAP::NG, not a memory-corruption or RCE issue. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N = 9.1) rates it Critical and unauthenticated (PR:N), which matches the description: an attacker replays a public Relying Party's client_id with an arbitrary secret and the token endpoint issues access/ID/refresh tokens. However, the real-world precondition - the attacker must first INTERCEPT an authorization code issued to a public RP - is materially harder than AC:L implies; I would argue AC:H, so the effective severity is closer to High (~8.1) than the vendor's 9.1. SSVC signals reinforce a real but not emergency priority: Exploitation=poc (proof-of-concept, not active in-the-wild), Automatable=yes, Technical Impact=total. EPSS is low at 0.22% (11th percentile), consistent with a POC-only, not-yet-KEV vulnerability - targeted rather than mass exploitation. Not on CISA KEV. The mitigating fact that PKCE was specifically designed to prevent exactly this code-interception attack, combined with the note that dynamic client registration creates every RP in the vulnerable 'PKCE or secret' mode, means environments using DCR are broadly exposed. Net: a real, patch-now priority for LemonLDAP::NG OIDC operators, but not a drop-everything internet-wide crisis given the code-interception prerequisite, POC-only status, and low EPSS. |
| Exploit ScenarioDerived | An attacker obtains an OAuth/OIDC authorization code issued to a public Relying Party (e.g., via redirect-URI leakage, a malicious mobile/SPA app, referrer/log exposure, or network interception). Because checkEndPointAuthenticationCredentials skips the secret comparison for public RPs and validatePKCEChallenge passes when no challenge/verifier exists, the attacker replays the client_id with any arbitrary Basic or form secret at the token endpoint and receives the victim's access, ID, and refresh tokens - a full account/session takeover. A proof-of-concept is indicated by SSVC (Exploitation=poc), but no active exploitation is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
An authorization-code interception attack against public OIDC Relying Parties on LemonLDAP::NG::Portal 2.23.0 through 2.23.3 lets an attacker redeem a stolen code for the victim's access, ID and refresh tokens without knowing the client secret, which is precisely the theft PKCE is designed to prevent. The flaw only applies to Relying Parties flagged as public while oidcRPMetaDataOptionsRequirePKCE is set to 2 ('PKCE or secret' mode), a configuration that Dynamic Client Registration creates automatically for every RP, making exposure broad on affected deployments. Exploitation is not confirmed in the wild (no CISA KEV listing), but publicly available exploit code exists and CISA SSVC rates the issue exploitable with total technical impact; EPSS is only 0.22% (11th percentile), and the independent assessment sets attack complexity to High because the attacker must first obtain a valid authorization code issued to a public RP before the token exchange succeeds. No authentication is required for the token-endpoint step (CVSS PR:N), and the victim's only involvement is completing a normal login.
RemediationAI
Upgrade LemonLDAP::NG::Portal to 2.23.4 or later, the vendor-released fixed version available from https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.4, and apply the corresponding Debian/Ubuntu package updates once rebased (both distributions track the release, so prioritise internet-facing identity providers running packaged 2.23.0-2.23.3). If an immediate upgrade is not possible, the most direct compensating control is to set oidcRPMetaDataOptionsRequirePKCE to 1 (strict 'PKCE required') on public Relying Parties so the authorization endpoint refuses requests that lack a code_challenge; the trade-off is that any legacy or non-PKCE-capable client will stop authenticating and will need to be updated or migrated before the change. A second option is to stop using Dynamic Client Registration, or to review each RP and remove the 'public' flag where the client is in fact capable of holding a secret - because the bypass exists only on the public-client path inside checkEndPointAuthenticationCredentials(), confidential RPs with enforced secret comparison are not exposed; the cost is registration and secret-management overhead for every RP. Disabling the affected OIDC Provider, or restricting the token endpoint to known client_id values at a reverse proxy/WAF until patching, are heavier measures that break legitimate Relying Parties and should be considered only for high-value deployments. Regardless of mitigation, treat authorization codes and tokens issued to public RPs in this mode before the fix as potentially compromised: shorten authorization code lifetimes, rotate client secrets and signing material, invalidate active refresh tokens, and review token-endpoint logs for replay of a single code with multiple client credentials. The vendor tracking item https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3719 and the oss-security advisory https://seclists.org/oss-sec/2026/q3/934 provide additional detail for change review.
Affected ProductsAI
Affected is the Perl module LemonLDAP::NG::Portal (the OIDC Provider of the LemonLDAP::NG web SSO suite), versions 2.23.0 up to but not including 2.23.4, i.e. 2.23.0, 2.23.1, 2.23.2 and 2.23.3; the flaw is only reachable when an OIDC Relying Party is marked public and oidcRPMetaDataOptionsRequirePKCE is set to 2, a state created by default for every RP registered through Dynamic Client Registration. The vulnerable versions reach downstream distributions as well: Debian tracks 5 releases and Ubuntu tracks 7 releases with a medium priority rating, so packaged builds of 2.23.x in those repositories inherit the issue until rebased on the fixed release. No CPE strings were supplied with this record, so version matching must be done against the product itself rather than a CPE dictionary entry. Vendor references for the affected and fixed code are the release page https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.4 and the tracking work item https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3719, with additional coordination context in the oss-security advisory at https://seclists.org/oss-sec/2026/q3/934 (mirrored at http://www.openwall.com/lists/oss-security/2026/09/25/2) and EUVD entry EUVD-2026-86489 / CVE-2026-92289.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is an authentication-logic defect (CWE-1390, weak authentication) in the OpenID Connect Provider component of LemonLDAP::NG::Portal, a Perl-based web SSO/identity federation stack; it is not a memory-corruption or remote-code-execution issue, and the 'RCE'/'Microsoft' ingestion tags attached to this record do not reflect the assessed nature of the flaw. PKCE (RFC 7636) binds an authorization code to the client that requested it by storing a code_challenge at the authorization endpoint and requiring the matching code_verifier at the token endpoint, which is the only protection available to public clients that cannot hold a secret. In the affected versions, when oidcRPMetaDataOptionsRequirePKCE is set to 2, the authorization endpoint still mints a code for a request carrying no code_challenge, and token() accepts the redemption as long as either a challenge was stored or an authentication method was returned for the caller. The root cause is in checkEndPointAuthenticationCredentials(), which short-circuits the client-secret comparison for a Relying Party marked public yet still returns the method deduced from the incoming request, so any arbitrary Basic or form credential satisfies the secret branch; validatePKCEChallenge() then passes because neither a challenge nor a verifier is present, leaving no binding between the code and its legitimate holder. Only Portal versions 2.23.0 through 2.23.3 are affected, and the vendor release v2.23.4 addresses the logic; the assessed vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N reflects that a valid code must first be intercepted, a meaningful prerequisite relative to the vendor-advertised base score.
Know when Perl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Sources disagree (Medium–Critical)AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Unauthenticated network attack (PR:N) yielding full token theft/account takeover (C:H/I:H), but requires first intercepting a victim's authorization code, so AC:H; no availability impact.
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
Lemonldap::NG::Portal versions from 2.23.0 before 2.23.4 for Perl allow a PKCE bypass for public Relying Parties in "PKCE or secret" mode because checkEndPointAuthenticationCredentials does not verify the client secret.
With oidcRPMetaDataOptionsRequirePKCE set to 2, the authorization endpoint issues a code even when the request carries no code_challenge, and token() admits the exchange as long as a challenge was stored or an authentication method was returned for the caller. checkEndPointAuthenticationCredentials() skips the secret comparison for a Relying Party marked public and still returns the method deduced from the request, so any Basic or form credential satisfies the secret branch. validatePKCEChallenge() then passes, because neither a challenge nor a verifier is present.
An attacker who intercepts an authorization code issued to a public Relying Party can exchange it for the user's access, ID and refresh tokens by replaying the client_id with an arbitrary secret, which is the attack PKCE prevents. Dynamic client registration creates every Relying Party in this mode.
Executive ViewAI
LemonLDAP::NG::Portal versions 2.23.0 through 2.23.3 carry a critical flaw that can let attackers steal OIDC tokens for public Relying Parties, potentially opening unauthorized access to connected applications and identity data. Publicly available exploit code exists, and the broad use of Dynamic Client Registration increases exposure, so affected SSO deployments should be treated as a priority. Leadership should care because a compromised SSO layer can undermine access controls across many business applications.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Related Vulnerabilities in Lemonldap::NG::Portal OAuth2/PKCE Auth Bypass
View all 2The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
Same weakness CWE-1390 – Weak Authentication
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| xenial | needs-triage | - |
| bionic | needs-triage | - |
| focal | needs-triage | - |
| jammy | needs-triage | - |
| noble | needs-triage | - |
| resolute | needs-triage | - |
| upstream | released | 2.23.4+ds-1 |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bookworm | vulnerable | 2.16.1+ds-deb12u8 | - |
| bookworm (security) | vulnerable | 2.16.1+ds-deb12u9 | - |
| trixie (security), trixie | vulnerable | 2.21.2+ds-1+deb13u3 | - |
| sid | fixed | 2.23.4+ds-1 | - |
| (unstable) | fixed | 2.23.4+ds-1 | - |
EUVD-2026-86489
GHSA-vw4x-93xp-f6f3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB