Apache Airflow bulk endpoints log Variable and Connection secrets in cleartext
Medium6.5CVE-2026-68969 · Published Aug 12, 2026 · updated Oct 2, 2026
Apache Airflow wrote Variable values and Connection `extra` contents to the audit log in cleartext when they were submitted through the bulk endpoints (`PATCH /api/v2/variables` and `PATCH /api/v2/connections`). The audit-log masking recognised only top-level request fields, and a bulk request nests its entities two levels below, so no masking was applied to them. Any authenticated user with audit-log read access -- who need not hold Variables or Connections read at all -- could recover those secrets verbatim, and the Connection `extra` copy is stored unencrypted in the log while the connection table encrypts it. The Airflow UI's *Import Variables* action posts to this endpoint, so an ordinary operator import wrote every secret in the file to the log. This is a different code path from CVE-2026-50204: that fix shipped in 3.3.0 and covers the single-entity endpoints only, so deployments that upgraded in response to that advisory remain affected and must upgrade again. Users are advised to upgrade to apache-airflow 3.3.1 or later.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | < 3.3.1 | 3.3.1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-532
- Also known as
- BIT-airflow-2026-68969, CVE-2026-68969, PYSEC-2026-3711
- nvd.nist.gov/vuln/detail/CVE-2026-68969
- github.com/apache/airflow/pull/70890
- github.com/apache/airflow/commit/76a851b1c5ed27164176af15235fa14cf6afc6ed
- github.com/apache/airflow/commit/fc8d6d8b6194674f4043fb4f632e7700876c0fd7
- github.com/apache/airflow
- github.com/apache/airflow/releases/tag/3.3.1
- github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-3711.yaml
- lists.apache.org/thread/p3jr90jgp2brto4vwcrx680f3x11y70c
- www.cve.org/CVERecord?id=CVE-2026-50204
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 12 | Apache Airflow missing team context permits cross-team Dag actions and XCom reads | Medium6.5 | 3.3.1 |
| Aug 12 | Apache Airflow Task SDK fails to mask list-shaped JSON Variables | Medium6.5 | 3.3.1 |
| Aug 12 | Apache Airflow Task SDK Callback deserialization can import arbitrary modules in the scheduler | High8.8 | 3.3.1 |
| Aug 12 | Apache Airflow environment-variable secrets backend permits cross-team credential use | Medium5.4 | 3.3.1 |
| Aug 12 | Apache Airflow Config API exposes team-scoped sensitive configuration values | Medium6.5 | 3.3.1 |
| Aug 12 | Apache Airflow XCom API permits unsafe deserialization through JSON string literals | Medium5.4 | 3.3.1 |