CVE-2026-19349

Source
https://cve.org/CVERecord?id=CVE-2026-19349
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19349.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-19349
Downstream
Published
2026-08-16T13:22:34.084Z
Modified
2026-08-17T11:47:08.708997596Z
Summary
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
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-305",
        "CWE-628"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19349.json",
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / gitlab.ow2.org/lemonldap-ng/lemonldap-ng

Affected ranges

Type
GIT
Repo
https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng
Events
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.16.9"
        },
        {
            "introduced": "2.17.0"
        },
        {
            "fixed": "2.21.5"
        },
        {
            "introduced": "2.22.0"
        },
        {
            "fixed": "2.23.3"
        }
    ]
}

Affected versions

Other
debian/bookworm
debian/bullseye
debian/buster
ubuntu/disco
ubuntu/focal
ubuntu/groovy
ubuntu/hirsute
ubuntu/jammy
v2.*
v2.0.0
v2.0.1
v2.0.10
v2.0.11
v2.0.12
v2.0.13
v2.0.14
v2.0.15
v2.0.15.1
v2.0.2
v2.0.3
v2.0.4
v2.0.6
v2.0.7
v2.0.8
v2.0.9
v2.16.1
v2.16.2
v2.16.3
v2.16.4
v2.16.5
v2.16.6
v2.16.7
v2.16.8
v2.17.0
v2.18.0
v2.18.1
v2.19.0
v2.20.0
v2.21.0
v2.21.1
v2.21.2
v2.21.3
v2.21.4
v2.22.0
v2.23.0
v2.23.1
v2.23.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19349.json"