apache-airflow is vulnerable to Deserialization of Untrusted Data
88
High Risk
The Task SDK rebuilds a Callback object from serialized data by re-running its constructor, which imports the module named by the stored callback path. Because the callback class passes the default deserialization allow-list, tightening that setting does not help. A Dag author who controls a task instance's next_kwargs can cause an arbitrary module to be imported inside the scheduler when its timeout sweep deserializes that value. The fix stops reconstructing the callback through unrestricted import.
You are affected if you are using a version that falls within the vulnerable range and Dag authors are less trusted than the scheduler process.
apache-airflow is vulnerable to Deserialization of Untrusted Data in versions 3.3.0 - 3.3.0.
Upgrade the apache-airflow library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant