Catégories
CVE-2026-58076 high CVSS 8.8

Désérialisation non sécurisée dans apache-airflow (CVE-2026-58076)

Résumé

Vulnérabilité dans apache-airflow (CVE-2026-58076). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via GET /api/v2/dags/{dag_id}/details. Atténuation : mise à jour vers 3.3.1 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Apache Airflow's serialization layer reconstructed exception nodes by calling import_string() on a class name taken from the serialized blob and instantiating it with arguments from the same blob, with no restriction on what could be imported. An operator's executor_config reaches that branch, so a Dag author could place a value there that causes an arbitrary callable to be imported and invoked -- for example subprocess.check_output, or builtins.eval on the builtins-prefixed variant. The code runs in the Scheduler, which reconstructs serialized Dags in its normal loop with no request involved, and in the API server, on any authenticated read of the Dag such as GET /api/v2/dags/{dag_id}/details. Both are components the Airflow security model states must never execute Dag-author code, and both hold the metadata database credentials and the JWT signing secret. No non-default configuration is required. This is a different sink from CVE-2026-33264, which covered only the trigger branch of the same deserializer: deployments that upgraded in response to that advisory are still affected through the exception branch and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later, which restricts the imported class to a subclass of BaseException.

Source: NIST National Vulnerability Database NVD GitHub Advisory

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée CVE-2026-58076 a été découverte dans apache-airflow.
Des attaquants peuvent cibler un point d'entrée spécifique comme GET /api/v2/dags/{dag_id}/details à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 8.8/10.
Action : mettez à jour apache-airflow vers 3.3.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « apache-airflow CVE-2026-58076 » sur le site de l'éditeur.

CVE-2026-58076 (apache-airflow) — CWE-502 / CVSS v3 8.8
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : GET /api/v2/dags/{dag_id}/details / executor_config / subprocess.check_output / builtins.eval
Correctif : 3.3.1 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

Une désérialisation non sécurisée (CWE-502) affecte apache-airflow. Les attaquants atteignent le code vulnérable via GET /api/v2/dags/{dag_id}/details.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de apache-airflow. Surface d'attaque : GET /api/v2/dags/{dag_id}/details / executor_config / subprocess.check_output / builtins.eval.

🔥 Gravité

Gravité : Élevée (CVSS 8.8/10). L'exploitation peut entraîner la prise de contrôle totale du système.

🔧 Comment corriger

Mettre à jour vers 3.3.1.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers GET /api/v2/dags/{dag_id}/details (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver apache-airflow.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'apache-airflow' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で apache-airflow を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Hunt for indicators of compromise detect
    grep 'GET /api/v2/dags/{dag_id}/details' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'

    アクセスログで GET /api/v2/dags/{dag_id}/details への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。

  3. 3
    Apply patch patch
    Upgrade apache-airflow to 3.3.1

    ステージング環境で 3.3.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。

  4. 4
    Post-deployment verification verify
    Replay attack against GET /api/v2/dags/{dag_id}/details on staging to confirm patch closes the vector

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。

Paquets affectés

pip apache-airflow
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1"}]}]
Bitnami airflow
[{"type":"SEMVER","events":[{"introduced":"3.3.0"},{"fixed":"3.3.1"}]}]
PyPI apache-airflow
[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.3.1"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus