Bug 2540976 - CVE-2026-92289 lemonldap-ng: lemonldap-ng: Authentication bypass via improper PKCE verification [fedora-all]
Summary: CVE-2026-92289 lemonldap-ng: lemonldap-ng: Authentication bypass via improper...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lemonldap-ng
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Xavier Bachelot
QA Contact:
URL:
Whiteboard: {"flaws": ["6c06cc95-24d3-448a-b318-6...
Depends On:
Blocks: CVE-2026-92289
TreeView+ depends on / blocked
 
Reported: 2026-09-25 07:34 UTC by Vladimir Vasilev
Modified: 2026-10-04 01:41 UTC (History)
1 user (show)

Fixed In Version: lemonldap-ng-2.23.4-1.fc45 lemonldap-ng-2.23.4-1.fc43 lemonldap-ng-2.23.4-1.fc44
Clone Of:
Environment:
Last Closed: 2026-10-03 04:40:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-09-25 07:34:32 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-09-25 08:14:16 UTC
FEDORA-2026-76a3490aa6 (lemonldap-ng-2.23.4-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-76a3490aa6

Comment 2 Fedora Update System 2026-09-25 08:14:25 UTC
FEDORA-2026-827241e2de (lemonldap-ng-2.23.4-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-827241e2de

Comment 3 Fedora Update System 2026-09-25 08:14:33 UTC
FEDORA-2026-33dcab55b4 (lemonldap-ng-2.23.4-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-33dcab55b4

Comment 4 Fedora Update System 2026-09-26 01:47:47 UTC
FEDORA-2026-76a3490aa6 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-76a3490aa6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-76a3490aa6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-26 02:04:12 UTC
FEDORA-2026-827241e2de has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-827241e2de`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-827241e2de

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-09-26 02:27:29 UTC
FEDORA-2026-33dcab55b4 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-33dcab55b4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-33dcab55b4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-03 04:40:28 UTC
FEDORA-2026-76a3490aa6 (lemonldap-ng-2.23.4-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-10-04 01:33:09 UTC
FEDORA-2026-33dcab55b4 (lemonldap-ng-2.23.4-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-10-04 01:41:31 UTC
FEDORA-2026-827241e2de (lemonldap-ng-2.23.4-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.