Intel

AIKIDO-2026-140277

airflow-code-editor is vulnerable to Incorrect Authorization

GHSA-h6wx-5586-3jg7Published Aug 3, 2026
August 3, 2026

88

CVE Score

High

Incorrect Authorization

Are you affected? Scan for Free

TL;DR

The airflow-code-editor plugin guards its file- and repository-mutating routes with a DAG read permission instead of a write-level permission. A user holding only read access to DAGs can call the plugin routes to create, edit, or delete Python files in Airflow's live dags_folder. Because Airflow parses and executes files placed there, this lets a low-privilege user run arbitrary import-time code and act beyond their intended read-only role. The fix enforces write-level permission checks on the state-changing routes and gates git write operations behind an authorization check.

How do I fix this?

Upgrade the airflow-code-editor library to the patch version.

Who does this affect?

You are affected if you run a vulnerable version of the airflow-code-editor plugin with FAB/AppBuilder authentication and its default writable root pointed at Airflow's live dags_folder, and you grant users read-only DAG access who can reach the plugin's file and repository routes. Such a read-only user can create, edit, or delete DAG files without holding a write-level permission.

Versions

0.0.1 - 8.2.4

Fixed in 8.3.0

Background info

airflow-code-editor is vulnerable to Incorrect Authorization in versions 0.0.1 - 8.2.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea