CVE-2026-19349Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | lemonldap-ng | Fix pending | UBUNTU-CVE-2026-19349 | |
| Ubuntu 26.04 | lemonldap-ng | Under investigation | UBUNTU-CVE-2026-19349 | |
| Ubuntu 24.04 | lemonldap-ng | Under investigation | UBUNTU-CVE-2026-19349 | |
| Ubuntu 22.04 | lemonldap-ng | Under investigation | UBUNTU-CVE-2026-19349 | |
| Ubuntu 20.04 | lemonldap-ng | Fix pending | UBUNTU-CVE-2026-19349 | |
| Ubuntu 18.04 | lemonldap-ng | Fix pending | UBUNTU-CVE-2026-19349 | |
| Ubuntu 16.04 | lemonldap-ng | Fix pending | UBUNTU-CVE-2026-19349 | |
| Debian 14 | lemonldap-ng | Fixed | 2.23.3+ds-1 | DEBIAN-CVE-2026-19349 |
| Debian 13 | lemonldap-ng | Fixed | 2.21.2+ds-1+deb13u3 | DEBIAN-CVE-2026-19349 |
| Debian 12 | lemonldap-ng | Fixed | 2.16.1+ds-deb12u9 | DEBIAN-CVE-2026-19349 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Lemonldap-NG-Portal: affected: 2.0.0 to before 2.16.9, 2.17.0 to before 2.21.5, 2.22.0 to before 2.23.3; fixed in
2.16.9,2.21.5,2.23.3
Solution: Upgrade to Lemonldap-NG-Portal 2.16.9, 2.21.5 or 2.23.3 or later. Only 2.23.3 is on CPAN; the 2.16.9 and 2.21.5 LTS releases are available from https://lemonldap-ng.org/download.html.
Workaround: For deployments that cannot upgrade, disable the GitHub and LinkedIn authentication modules.
Vendor advisories:
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.3 (release-notes)
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.21.5 (release-notes)
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.16.9 (release-notes)
References
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.3
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.21.5
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.16.9
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.