CVE-2018-1000843: Luigi Cross-Site Request Forgery (CSRF) Vulnerability

luigi Updated 02 Oct 2025

Summary

20/12/2018
Yes i
High
8.8

CVE-2018-1000843: 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/ that c... Affects luigi versions < 2.8.0. Fixed in 2.8.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Luigi is an open-source Python package that helps build complex pipelines of batch jobs. It provides a framework for defining tasks and dependencies between them, making it easier to manage and execute data workflows. Luigi is widely used in data engineering and data science projects.

Vulnerability Detail

The Luigi version prior to 2.8.0, after commit 53b52e12745075a8acc016d33945d9d6a7a6aaeb, and after GitHub PR spotify/luigi/pull/1870 contains a Cross-Site Request Forgery (CSRF) vulnerability. This vulnerability exists in the API endpoint: /api/<method>. An attacker can exploit this vulnerability by tricking a victim into visiting a specially crafted webpage from the network where their Luigi server is accessible. As a result, task metadata such as task name, ID, parameters, etc., will be leaked to unauthorized users. This can lead to unauthorized access and potential data exposure.

How To Fix

Minimum fixed version

2.8.0

This is the first release that contains the fix.

pip install --upgrade "luigi==2.8.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of Luigi to mitigate the risk.

Conclusion

The Luigi version prior to 2.8.0 is vulnerable to a Cross-Site Request Forgery (CSRF) attack. Upgrading to version 2.8.0 or later is necessary to fix this vulnerability and prevent unauthorized access to task metadata. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for luigi →

Share this vulnerability

FAQ

Luigi is an open-source Python package used for building complex data workflows and managing dependencies between tasks.

A CSRF vulnerability allows an attacker to perform unwanted actions on behalf of a victim user by tricking them into executing malicious requests.

The vulnerability can be exploited by tricking a victim into visiting a specially crafted webpage from the network where their Luigi server is accessible.

The vulnerability can lead to unauthorized access and exposure of task metadata, which may include sensitive information.

No, there is no known workaround. It is recommended to upgrade to the fixed version of Luigi.

Related vulnerabilities

Recent vulnerabilities recorded for luigi.

How To Fix

Minimum fixed version

2.8.0

This is the first release that contains the fix.

pip install --upgrade "luigi==2.8.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback