Cross-Site Request Forgery (CSRF) in Luigi
Luigi version prior to version 2.8.0; after commit 53b52e12745075a8acc016d33945d9d6a7a6aaeb; after GitHub PR spotify/luigi/pull/1870 contains a Cross ite Request Forgery (CSRF) vulnerability in API endpoint: /api/<method> that can result in Task metadata such as task name, id, parameter, etc. will be leaked to unauthorized users. This attack appear to be exploitable via The victim must visit a specially crafted webpage from the network where their Luigi server is accessible.. This vulnerability appears to have been fixed in 2.8.0 and later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | luigi | < 2.8.0 | 2.8.0 |
References
- https://groups.google.com/forum/#!topic/luigi-user/ZgfRTpBsVUY
- https://github.com/spotify/luigi/pull/1870
- https://github.com/spotify/luigi/blob/2.7.9/luigi/server.py#L67
- https://github.com/advisories/GHSA-p69g-f978-xxv9
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000843
- https://github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2018-11.yaml
- https://github.com/spotify/luigi
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-352- Platform
- Python (PyPI)
- Package
luigi- Disclosed
- 20.12.2018
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2018-11 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-p69g-f978-xxv9 - CC BY 4.0
Vulnerability history: luigi
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 12.2018 12.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Cross-Site Request Forgery (CSRF) in Luigi this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.