Skip to main content

LemonLDAP::NG CVE-2026-92289

| EUVDEUVD-2026-86489 CRITICAL
Weak Authentication (CWE-1390)
2026-09-25 CPANSec GHSA-vw4x-93xp-f6f3
Critical
Disputed · 9.1 Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Intercept authorization code for public RP
  2. Delivery
    Replay client_id with arbitrary secret at token endpoint
  3. Exploit
    Public-RP secret check skipped, PKCE validation passes
  4. Execution
    Exchange code for access/ID/refresh tokens
  5. Impact
    Impersonate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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)
Vendor (CPANSec) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Ubuntu MEDIUM

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Sep 26, 2026 - 23:37 NVD
9.1 (CRITICAL)
CVE Published
Sep 25, 2026 - 00:15 cve.org
CRITICAL 9.1
CVE Published
Sep 25, 2026 - 00:15 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche open-source WebSSO/IAM product, specialized deployments (notably French public sector)
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Related Vulnerabilities in Lemonldap::NG::Portal OAuth2/PKCE Auth Bypass

View all 2

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

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

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

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

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

Vendor StatusVendor

Ubuntu

Priority: Medium
lemonldap-ng
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

lemonldap-ng
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 -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy