Skip to content

CVE-2026-19349 Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from 2.22.0 before 2.23.3 for Perl allow authentication bypass via an OAuth2 state parameter stored as an SSO sessio...

CriticalCVSS 9.8 EPSS 0.82%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

Description

Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from 2.22.0 before 2.23.3 for Perl allow authentication bypass via an OAuth2 state parameter stored as an SSO session in the GitHub and LinkedIn backends.

Before redirecting to the identity provider, extractFormInfo() creates the state session with the positional call getApacheSession( undef, 1, 0, 'GitHubState' ). getApacheSession() takes a session id followed by a named argument hash, so the trailing arguments become that hash, kind defaults to SSO, and the state is written to the global session storage as a regular SSO session. Its identifier is handed to the unauthenticated visitor as the state parameter of the redirection URL.

Any visitor who reaches the GitHub or LinkedIn endpoint can replay that identifier as a session cookie and obtain a valid SSO session without authenticating. The session holds neither _user nor authenticationLevel, which the shipped bootstrap configuration accepts because it grants virtual hosts a "default => accept" access rule; deployments whose rules test the user or require an authentication level are less exposed. Only configurations with the GitHub or LinkedIn authentication module enabled are affected.

Upgrade path

8 packages: 4 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.0.0, < 2.16.9; >= 2.17.0, < 2.21.5; >= 2.22.0, < 2.23.3 2.16.9, 2.21.5, 2.23.3 Fixed
debian/lemonldap-ng(Debian 12) < 2.16.1+ds-deb12u9; = 2.16.1+ds-2; = 2.16.1+ds-deb12u1; = 2.16.1+ds-deb12u2 +6 more 2.16.1+ds-deb12u9 Fixed
debian/lemonldap-ng(Debian 13) < 2.21.2+ds-1+deb13u3; = 2.21.2+ds-1; = 2.21.2+ds-1+deb13u1; = 2.21.2+ds-1+deb13u2 2.21.2+ds-1+deb13u3 Fixed
debian/lemonldap-ng(Debian 14) < 2.23.3+ds-1; = 2.21.2+ds-1; = 2.21.2+ds-2; = 2.21.3+ds-1 +20 more 2.23.3+ds-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Lemonldap-NG-Portal >= 2.0.0, < 2.16.9 2.16.9
cpan Lemonldap-NG-Portal >= 2.17.0, < 2.21.5 2.21.5
cpan Lemonldap-NG-Portal >= 2.22.0, < 2.23.3 2.23.3
debian/lemonldap-ng(Debian:12) < 2.16.1+ds-deb12u9 2.16.1+ds-deb12u9
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-2 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u1 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u2 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u3 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u4 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u5 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u6 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u7 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u8 No fix listed
debian/lemonldap-ng(Debian:13) < 2.21.2+ds-1+deb13u3 2.21.2+ds-1+deb13u3
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:14) < 2.23.3+ds-1 2.23.3+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
Show 20 more
ProductAffected versionsFixed in
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
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
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