CVE-2026-19349: CWE-305 Authentication Bypass by Primary Weakness
CVE-2026-19349 is a critical authentication bypass vulnerability in Lemonldap::NG::Portal affecting certain versions that use the GitHub and LinkedIn OAuth2 backends. The flaw allows an unauthenticated visitor to replay a session identifier used as an OAuth2 state parameter to gain a valid SSO session without proper authentication. This occurs because the state parameter is stored as a regular SSO session lacking user and authentication level attributes, which some default configurations accept. Only deployments with the GitHub or LinkedIn authentication modules enabled are affected.
AI Analysis
Technical Summary
Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, and from 2.22.0 before 2.23.3 for Perl contain an authentication bypass vulnerability via the OAuth2 state parameter in the GitHub and LinkedIn backends. The function extractFormInfo() creates the state session using getApacheSession() with arguments that cause the state to be stored as a regular SSO session. This session identifier is then exposed to unauthenticated visitors as the OAuth2 state parameter. An attacker can replay this identifier as a session cookie to obtain a valid SSO session without authentication. The session lacks _user and authenticationLevel attributes, but default bootstrap configurations that accept "default => accept" access rules allow unauthorized access. Deployments that enforce user or authentication level checks are less impacted.
Potential Impact
An attacker can bypass authentication and gain unauthorized access to Lemonldap::NG::Portal protected resources by replaying the OAuth2 state parameter session identifier. This leads to a full compromise of the SSO session, potentially exposing sensitive information and allowing unauthorized actions. The impact is critical due to the complete authentication bypass and high CVSS score (9.8). However, the vulnerability only affects configurations using the GitHub or LinkedIn authentication modules and those with permissive access rules that do not verify user identity or authentication level.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, deployments should review their access control rules to ensure they do not rely on the default "default => accept" setting and instead enforce user identity and authentication level checks. Additionally, consider disabling the GitHub and LinkedIn authentication modules if not required. Monitor vendor communications for official patches or updates addressing this vulnerability.
CVE-2026-19349: CWE-305 Authentication Bypass by Primary Weakness
Description
CVE-2026-19349 is a critical authentication bypass vulnerability in Lemonldap::NG::Portal affecting certain versions that use the GitHub and LinkedIn OAuth2 backends. The flaw allows an unauthenticated visitor to replay a session identifier used as an OAuth2 state parameter to gain a valid SSO session without proper authentication. This occurs because the state parameter is stored as a regular SSO session lacking user and authentication level attributes, which some default configurations accept. Only deployments with the GitHub or LinkedIn authentication modules enabled are affected.
CVSS v3.1
Score 9.8critical
Affected software
pkg:github/lemonldap-ng/lemonldap-ngRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, and from 2.22.0 before 2.23.3 for Perl contain an authentication bypass vulnerability via the OAuth2 state parameter in the GitHub and LinkedIn backends. The function extractFormInfo() creates the state session using getApacheSession() with arguments that cause the state to be stored as a regular SSO session. This session identifier is then exposed to unauthenticated visitors as the OAuth2 state parameter. An attacker can replay this identifier as a session cookie to obtain a valid SSO session without authentication. The session lacks _user and authenticationLevel attributes, but default bootstrap configurations that accept "default => accept" access rules allow unauthorized access. Deployments that enforce user or authentication level checks are less impacted.
Potential Impact
An attacker can bypass authentication and gain unauthorized access to Lemonldap::NG::Portal protected resources by replaying the OAuth2 state parameter session identifier. This leads to a full compromise of the SSO session, potentially exposing sensitive information and allowing unauthorized actions. The impact is critical due to the complete authentication bypass and high CVSS score (9.8). However, the vulnerability only affects configurations using the GitHub or LinkedIn authentication modules and those with permissive access rules that do not verify user identity or authentication level.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, deployments should review their access control rules to ensure they do not rely on the default "default => accept" setting and instead enforce user identity and authentication level checks. Additionally, consider disabling the GitHub and LinkedIn authentication modules if not required. Monitor vendor communications for official patches or updates addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-08-08T14:18:36.846Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a81be1abf8831d539265657
Added to database: 08/16/2026, 13:41:46 UTC
Last enriched: 08/24/2026, 13:24:41 UTC
Last updated: 09/07/2026, 22:52:10 UTC
Views: 151
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.