Skip to content

CVE-2026-92289 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...

CriticalCVSS 9.1 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

7 packages: 3 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/lemonldap-ng(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/lemonldap-ng(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/lemonldap-ng(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/lemonldap-ng(Ubuntu 26.10) All versions No fix listed No fix yet
cpan Lemonldap-NG-Portal >= 2.23.0, < 2.23.4 2.23.4 Fixed
debian/lemonldap-ng(Debian 13) < 2.21.2+ds-1+deb13u4; = 2.21.2+ds-1; = 2.21.2+ds-1+deb13u1; = 2.21.2+ds-1+deb13u2 +1 more 2.21.2+ds-1+deb13u4 Fixed
debian/lemonldap-ng(Debian 14) < 2.23.4+ds-1; = 2.21.2+ds-1; = 2.21.2+ds-2; = 2.21.3+ds-1 +21 more 2.23.4+ds-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Lemonldap-NG-Portal >= 2.23.0, < 2.23.4 2.23.4
debian/lemonldap-ng(Debian:13) < 2.21.2+ds-1+deb13u4 2.21.2+ds-1+deb13u4
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1+deb13u1 No fix listed
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1+deb13u2 No fix listed
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1+deb13u3 No fix listed
debian/lemonldap-ng(Debian:14) < 2.23.4+ds-1 2.23.4+ds-1
debian/lemonldap-ng(Debian:14) = 2.21.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.2+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.3+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.3+ds-1~bpo12+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.3+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.0+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.0+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.0+ds-2~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.1+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.1+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.2+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.3+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.3+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-3 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-3~bpo13+1 No fix listed
Show 10 more
ProductAffected versionsFixed in
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-4 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.1+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.2+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.2+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.3+ds-1 No fix listed
ubuntu/lemonldap-ng(Ubuntu:22.04) All versions No fix listed
ubuntu/lemonldap-ng(Ubuntu:24.04) All versions No fix listed
ubuntu/lemonldap-ng(Ubuntu:26.04) All versions No fix listed
ubuntu/lemonldap-ng(Ubuntu:26.10) All versions No fix listed

References