CVE-2026-19349
published critical CVSS 3.1 · 9.8Lemonldap::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Lemonldap-NG-Portal2.0.0 to < 2.16.9 · 2.17.0 to < 2.21.5 · 2.22.0 to < 2.23.3 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Debian | bookworm | lemonldap-ng | Advisory build | 2.16.1+ds-deb12u9 | DLA-4734-1 |
| Debian | bullseye | lemonldap-ng | Advisory build | 2.0.11+ds-4+deb11u9 | DLA-4734-1 |
| Debian | trixie | lemonldap-ng | Advisory build | 2.21.2+ds-1+deb13u3 | DSA-6434-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Lemonldap-NG-Portal | 2.0.0 to < 2.16.9 (affected · custom)2.17.0 to < 2.21.5 (affected · custom)2.22.0 to < 2.23.3 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-305 CWE-305 Authentication Bypass by Primary Weakness
- CWE-628 CWE-628 Function Call with Incorrectly Specified Arguments
References
4Provider assertions
3CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 66e4edddf307da0ab76f7f0e5d7d9a49cbf8f1528226ad3f7e2d4e40eb5b5ce3
- Ingested
- 23 Sep 2026, 09:03:35 UTC
- Source record
- Official CVE record