{"id":"CVE-2024-5248","aliases":["CVE-2024-5248"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Access Control in lunary-ai/lunary","summary":"In lunary-ai/lunary version 1.2.5, an improper access control vulnerability exists due to a missing permission check in the `GET /v1/users/me/org` endpoint. The platform's role definitions restrict the `Prompt Editor` role to prompt management and project viewing/listing capabilities, explicitly excluding access to user information. However, the endpoint fails to enforce this restriction, allowing users with the `Prompt Editor` role to access the full list of users in the organization. This vulnerability allows unauthorized access to sensitive user information, violating the intended access controls.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In lunary-ai/lunary version 1.2.5, an improper access control vulnerability exists due to a missing permission check in the `GET /v1/users/me/org` endpoint. The platform's role definitions restrict the `Prompt Editor` role to prompt management and project viewing/listing capabilities, explicitly excluding access to user information. However, the endpoint fails to enforce this restriction, allowing users with the `Prompt Editor` role to access the full list of users in the organization. This vulnerability allows unauthorized access to sensitive user information, violating the intended access controls.","source":"cvelist"},{"lang":"es","text":"En lunary-ai/lunary versión 1.2.5, existe una vulnerabilidad de control de acceso inadecuado debido a una falta de verificación de permiso en el endpoint `GET /v1/users/me/org`. Las definiciones de funciones de la plataforma restringen la función \"Editor de mensajes\" a la gestión de mensajes y las capacidades de visualización/enumeración de proyectos, excluyendo explícitamente el acceso a la información del usuario. Sin embargo, el endpoint no aplica esta restricción, lo que permite a los usuarios con la función \"Editor de mensajes\" acceder a la lista completa de usuarios de la organización. Esta vulnerabilidad permite el acceso no autorizado a información confidencial del usuario, violando los controles de acceso previstos.","source":"nvd"}],"published":"2024-06-06T18:49:25.715Z","modified":"2026-06-17T08:15:32.160Z","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":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.4.9","status":"affected"}],"vendor":"lunary-ai","product":"lunary-ai/lunary","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.2.5","fixed":"1.4.9"}],"vendor":"lunary","product":"lunary","cpe":"cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/4ec75087-5630-4813-952b-88ccabe6d117","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/lunary-ai/lunary/commit/7f24ec1c3588992a07fd70573c43a0897eb523a2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-07T15:06:46.170Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-5248","url":"https://www.cve.org/CVERecord?id=CVE-2024-5248","licence":"CVE Terms of Use","modified":"2024-11-03T18:27:24.948Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-5248","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5248","licence":"Public domain","modified":"2026-06-17T08:15:32.160Z"}],"updatedAt":"2026-11-25T22:58:41.523Z","epss":{"score":0.00469,"percentile":0.42209,"date":"2026-12-01T12:00:22.000Z"}}