# Apache Airflow, versions before 2.7.1, is affected by a vulnerability that allows authenticated users who have access to see the task/dag in the UI, to craft a URL, which could lead to unmasking th...

Advisory record · `GHSA-mjqh-v5f2-g2mw`

- **Identifiers:** `GHSA-mjqh-v5f2-g2mw` · `BIT-airflow-2023-40712` · `CVE-2023-40712` · `PYSEC-2023-171`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 12 Sept 2023
- **Updated:** 10 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Sept 2023, 12:15 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `apache-airflow` (PyPI): affected `<2.7.1`; fixed in `2.7.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Airflow versions before 2.7.1 are vulnerable. An authenticated user who can see a task or DAG in the UI can craft a URL that reveals secret configuration values which would otherwise be masked in the UI. Upgrade to Apache Airflow 2.7.1 or later, which removes the vulnerability.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.020, the 81st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 12 Sept 2023. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-mjqh-v5f2-g2mw](https://github.com/advisories/GHSA-mjqh-v5f2-g2mw)
- [OSV: GHSA-mjqh-v5f2-g2mw](https://osv.dev/vulnerability/GHSA-mjqh-v5f2-g2mw)
- <https://github.com/apache/airflow/pull/33516>
- <https://github.com/apache/airflow/pull/33512>
- <https://lists.apache.org/thread/jw1yv4lt6hpowqbb0x4o3tdp0jhx2bts>
- <https://github.com/advisories/GHSA-mjqh-v5f2-g2mw>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-mjqh-v5f2-g2mw>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-mjqh-v5f2-g2mw/>. Everything for agents: <https://agentprime.io/llms.txt>.
