# 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 session in the GitHub and LinkedIn backends

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-08-16T13:22:34.084Z
- Modified: 2026-08-26T16:51:19.490Z
- Weaknesses: CWE-305, CWE-628
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- Lemonldap-NG-Portal: from 2.0.0 before 2.16.9; from 2.17.0 before 2.21.5; from 2.22.0 before 2.23.3

## References

- <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)
- <http://www.openwall.com/lists/oss-security/2026/08/16/2>

## Sources

- CVE List: [CVE-2026-19349](https://www.cve.org/CVERecord?id=CVE-2026-19349), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-19349](https://nvd.nist.gov/vuln/detail/CVE-2026-19349), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-19349 · Whole record: https://cve.day/CVE-2026-19349.json · Rebuilt by cve.day 2026-11-25T22:59:33.298Z
