{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12804 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-12804 is a medium-severity vulnerability in lemonldap-ng, published on 21 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-12804 and fix it if it is affected.\n\nWhat it is: CVE-2026-12804 is a medium-severity vulnerability in lemonldap-ng, published on 21 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-12804 exists.\n\nAffected product: lemonldap-ng. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12804/ (Markdown: https://insights.sbomify.com/CVE-2026-12804/index.md)","id":"CVE-2026-12804","markdown":"https://insights.sbomify.com/CVE-2026-12804/index.md","name":"CVE-2026-12804","record":{"aliases":["DEBIAN-CVE-2026-12804","GHSA-g4v8-q2mr-m933","UBUNTU-CVE-2026-12804"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"LemonLDAP-NG SSO","requires_auth":"none","summary":"Remote attackers can exploit an open redirect in the SAML Common Domain Cookie Endpoint, though impact is low as the feature is rarely used.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"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.\"","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"lemonldap-ng SAML Common Domain Cookie Endpoint CDC.pm redirect","id":"CVE-2026-12804","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"OFFIS DCMTK ofxml.cc parseFile heap-based overflow","id":"CVE-2026-12805"},"packages":[],"prev":{"headline":"KCCMBlockCipher MAC does not bind nonce when AAD is absent (cross-nonce AEAD forgery)","id":"CVE-2026-12803"},"products":["lemonldap-ng"],"published":"2026-06-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["n/a"]},"summary":"Remote attackers can exploit an open redirect in the SAML Common Domain Cookie Endpoint, though impact is low as the feature is rarely used.","url":"https://insights.sbomify.com/CVE-2026-12804/"}