{"id":"CVE-2024-6582","aliases":["CVE-2024-6582","GHSA-w73r-8mm4-cfvf"],"related":[],"kind":"vulnerability","state":"published","title":"Broken Access Control in lunary-ai/lunary","summary":"A broken access control vulnerability exists in the latest version of lunary-ai/lunary. The `saml.ts` file allows a user from one organization to update the Identity Provider (IDP) settings and view the SSO metadata of another organization. This vulnerability can lead to unauthorized access and potential account takeover if the email of a user in the target organization is known.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A broken access control vulnerability exists in the latest version of lunary-ai/lunary. The `saml.ts` file allows a user from one organization to update the Identity Provider (IDP) settings and view the SSO metadata of another organization. This vulnerability can lead to unauthorized access and potential account takeover if the email of a user in the target organization is known.","source":"cvelist"},{"lang":"en","text":"# Withdrawn Advisory\n\nThis advisory was incorrectly linked the the npm package `lunary`. The advisory is valid, but not for that package.\n\n# Original Advisory\n\nA broken access control vulnerability exists prior to commit 1f043d8798ad87346dfe378eea723bff78ad7433 of lunary-ai/lunary. The `saml.ts` file allows a user from one organization to update the Identity Provider (IDP) settings and view the SSO metadata of another organization. This vulnerability can lead to unauthorized access and potential account takeover if the email of a user in the target organization is known.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de control de acceso en la última versión de lunary-ai/lunary. El archivo `saml.ts` permite que un usuario de una organización actualice la configuración del proveedor de identidad (IDP) y vea los metadatos de SSO de otra organización. Esta vulnerabilidad puede provocar acceso no autorizado y una posible apropiación de cuentas si se conoce el correo electrónico de un usuario de la organización de destino.","source":"nvd"}],"published":"2024-09-13T16:11:39.817Z","modified":"2026-09-10T03:50:19.033Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-287","CWE-306"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.4.9","status":"affected"}],"vendor":"lunary-ai","product":"lunary-ai/lunary","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.4.9","status":"affected"}],"vendor":"lunary-ai","product":"lunary-ai\\/lunary","cpe":"cpe:2.3:a:lunary-ai:lunary-ai\\/lunary:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.9"}],"ecosystem":"npm","package":"lunary","purl":"pkg:npm/lunary","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.4.9"}],"vendor":"lunary","product":"lunary","cpe":"cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/251d138c-3911-4a81-96e5-5a4ab59a0b59","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/lunary-ai/lunary/commit/1f043d8798ad87346dfe378eea723bff78ad7433","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6582","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/lunary-ai/lunary","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-09-13T16:41:24.405Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6582","url":"https://www.cve.org/CVERecord?id=CVE-2024-6582","licence":"CVE Terms of Use","modified":"2024-11-03T18:27:25.362Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w73r-8mm4-cfvf","url":"https://github.com/advisories/GHSA-w73r-8mm4-cfvf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:19.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6582","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6582","licence":"Public domain","modified":"2026-06-17T08:18:17.150Z"}],"updatedAt":"2026-11-25T22:58:45.413Z","epss":{"score":0.00417,"percentile":0.38049,"date":"2026-12-01T12:00:22.000Z"}}