# CVE-2025-68438: Apache Airflow: Secrets in rendered templates could contain parts of sensitive values when truncated

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-01-16 · Modified: 2026-11-03
- Aliases: GHSA-3qmm-r55x-hpxx, BIT-airflow-2025-68438, PYSEC-2026-9, CGA-mw9w-mc97-966m, CGA-xmgc-9vxx-3j43, CGA-33cf-9wwm-p9gw, CGA-wj48-xm8f-xj63
- Record: https://cvemate.com/vulnerability/CVE-2025-68438 · JSON: https://cvemate.com/vulnerability/CVE-2025-68438/json

## Description

```text
In Apache Airflow versions before 3.1.6, when rendered template fields in a Dag exceed [core] max_templated_field_length, sensitive values could be exposed in cleartext in the Rendered Templates UI. This occurred because serialization of those fields used a secrets masker instance that did not include user-registered mask_secret() patterns, so secrets were not reliably masked before truncation and display.

Users are recommended to upgrade to 3.1.6 or later, which fixes this issue
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.667%, percentile 53.256%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache airflow: ≥ 3.1.0, \< 3.1.6
- apache airflow: ≥ 3.1.0, \< 3.1.6
- chainguard airflow-3 (Chainguard): \< 3.1.6-r0
- chainguard airflow-core-3 (Chainguard): \< 3.1.6-r0
- wolfi airflow-3 (Wolfi): \< 3.1.6-r0
- PyPI apache-airflow (PyPI): ≥ 3.1.0, \< 3.1.6

## References

- <https://lists.apache.org/thread/55n7b4nlsz3vo5n4h5lrj9bfsk8ctyff>
- <http://www.openwall.com/lists/oss-security/2026/01/15/5>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68438>
- <https://github.com/apache/airflow>
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2026-9.yaml>
- <https://github.com/advisories/GHSA-3qmm-r55x-hpxx>
- <https://pypi.python.org>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68438.json>

---

Data as of 2026-12-05T08:38:32.736Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
