Vulnerabilities

Vulnerability · CVE-2021-38540

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, <2.1.3.

Published Sep 9, 2021 · catalog updated Jun 17, 2026 · The variable import endpoint

Last checked Nov 2, 2026. A connected source was read within the last 7 days.

Check this week

CVE-2021-38540 is not in CISA KEV. FIRST estimates a 80.94% chance of exploitation in the next 30 days. Check whether you run The variable import endpoint.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (The variable import endpoint).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Critical9.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
80.94%
Remediation
Version ranges on file
Affected products
cpe apache/airflow

The variable import endpoint was not protected by authentication in Airflow >=2.0.0, =2.0.0, <2.1.3.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe apache/airflow< 2.1.3

How to fix CVE-2021-38540

  • Upgrade

    CVE-2021-38540 lists a fix boundary at 2.1.3. Compare the installed build with that boundary before you change production.

  • Version check

    Affected < 2.1.3

  • Advisory

    Open the inventory_high record and follow its fix.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2021-38540 is not in CISA KEV. FIRST estimates a 80.94% chance of exploitation in the next 30 days. Check whether you run The variable import endpoint.

Which versions are affected?

Compare what you have installed with < 2.1.3. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-269: Improper Privilege Management; CWE-306: Missing Authentication for Critical Function. EPSS 80.94%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Sep 9, 2021 · Monitored products — high

    Detected

    The variable import endpoint was not protected by authentication in Airflow >=2.0.0, =2.0.0, <2.1.3.

  2. Jun 17, 2026 · Monitored products — high

    Updated

    The variable import endpoint was not protected by authentication in Airflow >=2.0.0, =2.0.0, <2.1.3.

Sources

References

Freshness

Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • Monitored products — highNov 2, 2026