The vulnerability lies in the insecure deserialization of XCom values when generating extra operator links in the Apache Airflow web UI. The function airflow.serialization.definitions.operatorlink.XComLink.get_link was responsible for this. It directly called XComModel.deserialize_value on a value retrieved from XCom, which can be controlled by a DAG author. An attacker could create a crafted payload that, upon deserialization by the webserver process, would execute arbitrary code. The provided patch addresses this by removing the dangerous deserialize_value call and replacing it with a safe stringification method. This prevents the webserver from instantiating potentially malicious objects from XCom, mitigating the remote code execution risk.