Skip to content
Heist/ feed
Back to feed
Critical

lemonldap-ng — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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. 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.

Products
lemonldap-ng
Affected versions
1.3.3-1, 1.4.6-1, 1.4.6-2, 1.4.6-3, 1.9.10-1, 1.9.13-2, 1.9.14-1, 1.9.15-1, 1.9.16-2, 2.0.11+ds-4, 2.0.13+ds-3, 2.0.13+ds-3ubuntu1, 2.0.5+ds-2, 2.0.6+ds-2, 2.0.7+ds-2, 2.16.2+ds-1, 2.17.1+ds-1, 2.17.2+ds-1, 2.17.2+ds-2, 2.18.1+ds-1, 2.18.2+ds-1, 2.21.0+ds-3, 2.22.0+ds-2, 2.22.1+ds-1, 2.22.2+ds-1, 2.22.3+ds-1, 2.23.0+ds-3, 2.23.0+ds-4, 2.23.2+ds-1, 2.23.2+ds-2, 2.23.3+ds-1
Fixed versions
Not specified
CVEs
CVE-2026-19349
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:55 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-19349

core-osv · Original source

Published 16 Aug 2026, 14:16 UTC

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.

osv:UBUNTU-CVE-2026-19349

lemonldap-ng

Fixed versions: Not specified

lemonldap-ng

Fixed versions: Not specified

lemonldap-ng

Fixed versions: Not specified

lemonldap-ng

Fixed versions: Not specified

lemonldap-ng

Fixed versions: Not specified

lemonldap-ng

Fixed versions: Not specified

lemonldap-ng

Fixed versions: Not specified

Complete source record
{
  "id": "3f94287add12c5fae19efb5428ca4df4b6d6c08f4b63efd9228574c06c5e07fc",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-19349",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-19349",
    "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. 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.",
    "evidence": "osv:UBUNTU-CVE-2026-19349",
    "products": [
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.6-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.6-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.10-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.9.13-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.9.14-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.9.15-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.9.16-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.5+ds-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.6+ds-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.7+ds-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.11+ds-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.0.13+ds-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.0.13+ds-3ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.16.2+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.17.1+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.17.2+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.17.2+ds-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.18.1+ds-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.18.2+ds-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.22.2+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.22.3+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.23.0+ds-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.23.0+ds-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.23.2+ds-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.23.2+ds-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.23.3+ds-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "lemonldap-ng",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.21.0+ds-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.22.0+ds-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.22.1+ds-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.22.2+ds-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-19349",
      "aliases": [
        "UBUNTU-CVE-2026-19349"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3.3-1",
            "1.4.6-1",
            "1.4.6-2",
            "1.4.6-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "1.4.6-3"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "1.4.6-3"
              },
              {
                "binary_name": "liblemonldap-ng-conf-perl",
                "binary_version": "1.4.6-3"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "1.4.6-3"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "1.4.6-3"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "1.4.6-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.9.10-1",
            "1.9.13-2",
            "1.9.14-1",
            "1.9.15-1",
            "1.9.16-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "1.9.16-2"
              },
              {
                "binary_name": "lemonldap-ng-fastcgi-server",
                "binary_version": "1.9.16-2"
              },
              {
                "binary_name": "lemonldap-ng-handler",
                "binary_version": "1.9.16-2"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "1.9.16-2"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "1.9.16-2"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "1.9.16-2"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "1.9.16-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.0.5+ds-2",
            "2.0.6+ds-2",
            "2.0.7+ds-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "lemonldap-ng-fastcgi-server",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "lemonldap-ng-handler",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "lemonldap-ng-uwsgi-app",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "2.0.7+ds-2"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "2.0.7+ds-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.0.11+ds-4",
            "2.0.13+ds-3",
            "2.0.13+ds-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "lemonldap-ng-fastcgi-server",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "lemonldap-ng-handler",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "lemonldap-ng-uwsgi-app",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "2.0.13+ds-3ubuntu1"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "2.0.13+ds-3ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.16.2+ds-1",
            "2.17.1+ds-1",
            "2.17.2+ds-1",
            "2.17.2+ds-2",
            "2.18.1+ds-1",
            "2.18.2+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-fastcgi-server",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-handler",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-uwsgi-app",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "2.18.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-ssoaas-apache-client-perl",
                "binary_version": "2.18.2+ds-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.22.2+ds-1",
            "2.22.3+ds-1",
            "2.23.0+ds-3",
            "2.23.0+ds-4",
            "2.23.2+ds-1",
            "2.23.2+ds-2",
            "2.23.3+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-fastcgi-server",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-handler",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-uwsgi-app",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "2.23.3+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-ssoaas-apache-client-perl",
                "binary_version": "2.23.3+ds-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "lemonldap-ng",
            "purl": "pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.21.0+ds-3",
            "2.22.0+ds-2",
            "2.22.1+ds-1",
            "2.22.2+ds-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "lemonldap-ng",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-fastcgi-server",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-handler",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "lemonldap-ng-uwsgi-app",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-common-perl",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-handler-perl",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-manager-perl",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-portal-perl",
                "binary_version": "2.22.2+ds-1"
              },
              {
                "binary_name": "liblemonldap-ng-ssoaas-apache-client-perl",
                "binary_version": "2.22.2+ds-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:54.287612901Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-19349"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-19349",
        "https://www.cve.org/CVERecord?id=CVE-2026-19349",
        "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/8c6015d6f0b4f1aa78bd54e159a74cd151e8e00d",
        "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/eef2aa31ad26c685769c9602588bb85572da0c00",
        "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/96fde2e1a45fd70b2d793210bd0ec931be7b0dec"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-19349",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359921,
  "published_at": "2026-08-16T14:16:00+00:00"
}