# Safe Codex Prompt: CVE-2026-58076

Prepare a defensive remediation plan for CVE-2026-58076.

Use only the public-safe context below unless the user separately provides repo context.

Source summary: NVD: Apache Airflow's serialization layer reconstructed exception nodes by calling import_string() on a class name taken from the serialized blob and instantiating it with arguments from the same blob, with no restriction on what could be imported. NVD: An operator's executor_config reaches that branch, so a Dag author could place a value there that causes an arbitrary callable to be imported and invoked -- for example subprocess.check_output, or builtins.eval on the builtins-prefixed variant. NVD: The code runs in the **Scheduler**, which reconstructs serialized Dags in its normal loop with no request involved, and in the **API server**, on any authenticated read of the Dag such as GET /api
Affected vendor/product: apache / airflow
Risk context: {'severity': 'HIGH', 'cvss_score': 8.8, 'cvss_label': 'HIGH', 'epss_percentile': 0.39791, 'kev_status': 'not_listed', 'risk_flags': ['CVSS HIGH', 'official reference present']}
Remediation context: {'recommended_route': 'vendor_patch_or_mitigation', 'reference_status': 'official_reference_present', 'patch_status': 'confirmed', 'fixed_versions': ['apache-airflow'], 'mitigation_notes': ['Patch confirmed by source text; fixed version context: apache-airflow.']}

Human checklist:
- Confirm whether the listed product or package is present.
- Confirm affected version.
- Review vendor advisory or official source.
- Confirm patch, fixed version, mitigation, workaround, or monitor-only decision.
- Confirm exposure.
- Document remediation status.

Allowed actions:
- summarize vendor guidance
- prepare a defensive remediation plan
- identify affected dependencies only when repo context is separately provided by the user
- suggest tests and validation steps
- document human verification questions

Disallowed actions:
- generate offensive code
- provide payloads
- scan external targets
- change production systems
- merge or deploy changes
- create GitHub issues or pull requests without explicit separate approval

Acceptance criteria:
- Affected product or dependency presence is confirmed by a human.
- Affected version is confirmed or marked not applicable.
- Official advisory or source reference is reviewed.
- Patch, fixed version, mitigation, workaround, or monitor-only decision is documented.
- Validation steps are proposed without external scanning or production mutation.

You may prepare a defensive remediation plan.
You may summarize vendor guidance.
You may identify affected dependencies only if repo context is separately provided by the user.
You may suggest tests and validation steps.
You must not generate offensive code.
You must not provide payloads.
You must not scan external targets.
You must not change production systems.
You must not merge or deploy.
Human approval is required.
