{"id":"UBUNTU-CVE-2026-12804","details":"A vulnerability was detected in lemonldap-ng up to 2.23.0. Impacted is an unknown function in the library lemonldap-ng-portal/lib/Lemonldap/NG/Portal/CDC.pm of the component SAML Common Domain Cookie Endpoint. Performing a manipulation of the argument url results in open redirect. The attack is possible to be carried out remotely. The exploit is now public and may be used. Applying a patch is the recommended action to fix this issue. The vendor confirms, that \"it has been fixed some days ago and will be available in 2.23.1. CDC is quite never used, so the impact is very low.\"","modified":"2026-06-24T11:01:27.533032351Z","published":"2026-06-21T19:16:00Z","upstream":["CVE-2026-12804"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12804"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-12804"}],"affected":[{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.4.6-1","1.4.6-2","1.4.6-3"],"ecosystem_specific":{"binaries":[{"binary_name":"lemonldap-ng","binary_version":"1.4.6-3"},{"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_name":"liblemonldap-ng-handler-perl","binary_version":"1.4.6-3"},{"binary_version":"1.4.6-3","binary_name":"liblemonldap-ng-manager-perl"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"1.4.6-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.10-1","1.9.13-2","1.9.14-1","1.9.15-1","1.9.16-2"],"ecosystem_specific":{"binaries":[{"binary_name":"lemonldap-ng","binary_version":"1.9.16-2"},{"binary_version":"1.9.16-2","binary_name":"lemonldap-ng-fastcgi-server"},{"binary_version":"1.9.16-2","binary_name":"lemonldap-ng-handler"},{"binary_name":"liblemonldap-ng-common-perl","binary_version":"1.9.16-2"},{"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_name":"liblemonldap-ng-portal-perl","binary_version":"1.9.16-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.5+ds-2","2.0.6+ds-2","2.0.7+ds-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.7+ds-2","binary_name":"lemonldap-ng"},{"binary_version":"2.0.7+ds-2","binary_name":"lemonldap-ng-fastcgi-server"},{"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_version":"2.0.7+ds-2","binary_name":"liblemonldap-ng-common-perl"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"2.0.7+ds-2"},{"binary_version":"2.0.7+ds-2","binary_name":"liblemonldap-ng-manager-perl"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"2.0.7+ds-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.11+ds-4","2.0.13+ds-3","2.0.13+ds-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.13+ds-3ubuntu1","binary_name":"lemonldap-ng"},{"binary_name":"lemonldap-ng-fastcgi-server","binary_version":"2.0.13+ds-3ubuntu1"},{"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_name":"liblemonldap-ng-handler-perl","binary_version":"2.0.13+ds-3ubuntu1"},{"binary_version":"2.0.13+ds-3ubuntu1","binary_name":"liblemonldap-ng-manager-perl"},{"binary_name":"liblemonldap-ng-portal-perl","binary_version":"2.0.13+ds-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"lemonldap-ng","binary_version":"2.18.2+ds-1"},{"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_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_version":"2.18.2+ds-1","binary_name":"liblemonldap-ng-handler-perl"},{"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_version":"2.18.2+ds-1","binary_name":"liblemonldap-ng-ssoaas-apache-client-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.2+ds-1build1","2.21.0+ds-3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.21.0+ds-3","binary_name":"lemonldap-ng"},{"binary_name":"lemonldap-ng-fastcgi-server","binary_version":"2.21.0+ds-3"},{"binary_version":"2.21.0+ds-3","binary_name":"lemonldap-ng-handler"},{"binary_version":"2.21.0+ds-3","binary_name":"lemonldap-ng-uwsgi-app"},{"binary_version":"2.21.0+ds-3","binary_name":"liblemonldap-ng-common-perl"},{"binary_name":"liblemonldap-ng-handler-perl","binary_version":"2.21.0+ds-3"},{"binary_version":"2.21.0+ds-3","binary_name":"liblemonldap-ng-manager-perl"},{"binary_version":"2.21.0+ds-3","binary_name":"liblemonldap-ng-portal-perl"},{"binary_version":"2.21.0+ds-3","binary_name":"liblemonldap-ng-ssoaas-apache-client-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}},{"package":{"name":"lemonldap-ng","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/lemonldap-ng?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.21.0+ds-3","2.22.0+ds-2","2.22.1+ds-1","2.22.2+ds-1"],"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_version":"2.22.2+ds-1","binary_name":"liblemonldap-ng-common-perl"},{"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_version":"2.22.2+ds-1","binary_name":"liblemonldap-ng-portal-perl"},{"binary_name":"liblemonldap-ng-ssoaas-apache-client-perl","binary_version":"2.22.2+ds-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-12804.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P"},{"type":"Ubuntu","score":"medium"}]}