---
id: CVE-2024-28423
aliases:
  - PYSEC-2024-263
title: >-
  Airflow-Diagrams v2.1.0 was discovered to contain an arbitrary file upload
  vulnerability in the unsafe_load function at cli.py. This vuln…
summary: >-
  Airflow-Diagrams v2.1.0 was discovered to contain an arbitrary file upload
  vulnerability in the unsafe_load function at cli.py. This vulnerability allows
  attackers to execute arbitrary code via uploading a crafted YML file.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: airflow-diagrams
product: airflow-diagrams
ecosystem: pip
affected:
  - airflow-diagrams <= 2.1.0
published: '2024-03-14'
updated: '2026-07-30'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2024-263'
references:
  - url: 'https://github.com/bayuncao/vul-cve-15'
  - url: 'https://github.com/feluelle/airflow-diagrams'
tags:
  - osv
  - pip
epss: 0.00779
epssPercentile: 0.53958
ingestedAt: '2026-07-30T19:09:51.526Z'
---

## Overview

Airflow-Diagrams v2.1.0 was discovered to contain an arbitrary file upload vulnerability in the unsafe_load function at cli.py. This vulnerability allows attackers to execute arbitrary code via uploading a crafted YML file.

## Affected packages

- `airflow-diagrams <= 2.1.0`

## Remediation

Refer to the advisory for the patched release.
