{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-5248","id":"CVE-2024-5248","title":"Improper Access Control in lunary-ai/lunary","description":"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","descriptionLong":"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.","published":"2024-06-06T18:49:25.715Z","updated":"2026-06-17T08:15:32.160Z","reserved":"2024-05-22T21:47:13.569Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"huntr.dev"}],"rating":"medium","products":["lunary-ai/lunary"],"affectedProducts":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"1.4.9","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-862"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/4ec75087-5630-4813-952b-88ccabe6d117","tags":["x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/lunary-ai/lunary/commit/7f24ec1c3588992a07fd70573c43a0897eb523a2","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00469,"epssPercentile":0.41319,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-5248","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5248","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-5248","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-5248","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}