CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-68675

Airflow Leaks: When Proxies Spill Secrets in the Logs

Alon Barad
Alon Barad
Software Engineer

Jan 18, 2026·5 min read·93 visits

Executive Summary (TL;DR)

Apache Airflow's built-in secrets masker missed the `proxy` and `proxies` keywords. If you configured a connection to route through an authenticated proxy (e.g., `http://user:pass@proxy:8080`), Airflow treated that URL as harmless metadata. Consequently, task logs—often visible to a wide range of users—would print the full URL, including the password, in plain text. Fix involves upgrading to 3.1.6+.

Apache Airflow versions prior to 3.1.6 failed to mask sensitive credentials embedded within proxy URLs in connection configurations, leading to clear-text password exposure in execution logs.

The Hook: The Logfile Confessional

In the world of DevOps and Data Engineering, logs are the holy grail. They are the first place you look when a pipeline creates a crater instead of a data lake. Apache Airflow, the industry standard for orchestration, is notoriously chatty. It logs everything from task starts to XCom pushes, often giving developers a warm fuzzy feeling that they can debug anything.

But there is a dark side to verbosity. When a system blindly logs configuration objects to help you debug, it relies heavily on heuristics to decide what not to print. Airflow uses a SecretsMasker—a digital censor bar that scans for words like password, secret, or api_key and replaces their values with ***.

CVE-2025-68675 is the story of what happens when that censor bar gets a little too relaxed. It turns out, developers often route traffic through proxies, and those proxies often need authentication. Airflow didn't consider the word "proxy" to be dangerous, effectively treating http://admin:SuperSecret@myproxy.local the same as http://google.com. The result? Your proxy credentials ending up in the task logs, readable by anyone with 'Viewer' access.

The Flaw: A Whitelist in a Blacklist World

The root cause here is a classic failure of enumeration. Airflow's security model for logging relies on a default list of sensitive keys. When a Connection object is dumped to a log (which happens frequently during debugging or connection testing), the mask_secret utility iterates through the fields.

If the field name matches a pattern in the sensitive list (e.g., password, auth, token), the value is scrubbed. This is a "blacklist" approach to sanitation—you have to know exactly what is bad to stop it. If you encounter a field name you haven't anticipated, it gets a free pass.

Prior to version 3.1.6, proxies and proxy were not on the list. This is particularly dangerous because the standard format for HTTP proxy configuration in Python requests (and many other libraries) involves embedding the credentials directly in the Authority part of the URI: scheme://user:password@host:port. By failing to flag the key proxy as sensitive, Airflow allowed the entire string—credentials and all—to bypass the filter and land in the plaintext logs.

The Code: The Missing Keywords

The fix was embarrassingly simple, which highlights just how fragile keyword-based masking can be. The remediation involved updating the default configuration of the secrets masker to include the missing terms.

Here is a conceptual look at what happened in the code. The DEFAULT_SENSITIVE_FIELDS set defines what gets redacted:

# BEFORE (Vulnerable)
DEFAULT_SENSITIVE_FIELDS = {
    'password',
    'secret',
    'passwd',
    'authorization',
    'api_key',
    'apikey',
    'access_token',
}
 
# AFTER (Fixed in 3.1.6)
DEFAULT_SENSITIVE_FIELDS = {
    'password',
    'secret',
    'passwd',
    'authorization',
    'api_key',
    'apikey',
    'access_token',
    # The new additions that save the day:
    'proxy',
    'proxies',
}

By simply adding these two strings, any dictionary key or object attribute named proxy or proxies now triggers the masker. The value http://user:pass@1.2.3.4 gets transformed into *** in the logs, preventing the leak.

The Exploit: Phishing in the Logs

Exploiting this doesn't require buffer overflows or heap spraying. It requires a valid account with minimal permissions (like Viewer role) and a bit of patience. The attack vector is strictly internal, relying on an authorized user or developer creating a connection that uses a proxy.

Step 1: The Setup An admin configures a new HTTP Connection in Airflow to talk to an external API. Because the enterprise network is strict, they must route through an authenticated squid proxy.

{
  "conn_id": "secure_api",
  "conn_type": "http",
  "host": "api.vendor.com",
  "extra": {
    "proxies": {
      "http": "http://svc_airflow:Hunter2!@10.0.0.5:3128",
      "https": "http://svc_airflow:Hunter2!@10.0.0.5:3128"
    }
  }
}

Step 2: The Trigger A DAG runs using this connection. If the DAG has logging enabled for connection details (common in debug mode) or if an error occurs that dumps the connection context, the proxies dictionary is printed to stdout.

Step 3: The Harvest The attacker logs into the Airflow UI, browses to the Grid View, clicks on the task instance, and hits "Logs". There, staring them in the face, is: [INFO] Using connection parameters: ... 'proxies': {'http': 'http://svc_airflow:Hunter2!@10.0.0.5:3128'} ...

The attacker now has valid credentials for the internal proxy, which is often a gateway to the wider internal network.

The Impact: Why Should We Panic?

While this is a CVSS 7.5 (High), the real-world impact depends heavily on your network architecture. If your proxies utilize a generic, low-privilege account, this is annoying but manageable. However, if—like many organizations—you reuse service accounts, this could be catastrophic.

The credentials leaked here (svc_airflow in our example) might effectively be a master key for network egress. An attacker who has compromised a low-level user account on the Airflow web interface can upgrade their access to network-level pivoting. They can use these credentials to route malicious traffic through your corporate proxy, potentially bypassing firewall rules that trust the proxy IP, or access other internal services that assume traffic coming from the proxy is legitimate.

The Fix: Upgrade and Rotate

The primary mitigation is straightforward: Upgrade to Apache Airflow 3.1.6. This version patches the SecretsMasker to respect proxy fields.

If you cannot upgrade immediately, you have two options:

  1. Manual Masking: You can manually update your airflow.cfg to add proxy and proxies to the sensitive_var_conn_names configuration. This forces the masker to pick them up without a code change.
  2. Credential Rotation: Assume any proxy credentials currently configured in Airflow have been logged. Rotate the passwords for those service accounts. Even if you patch the software, the old logs (stored in S3, GCS, or local disk) still contain the plaintext passwords. Cleaning up historical logs is just as important as patching the code.

Official Patches

ApacheApache Airflow GitHub Repository

Technical Appendix

CVSS Score
7.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Probability
0.06%
Top 80% most exploited

Affected Systems

Apache Airflow SchedulerApache Airflow WebserverApache Airflow Worker

Affected Versions Detail

Product
Affected Versions
Fixed Version
Apache Airflow
Apache
< 3.1.63.1.6
AttributeDetail
CWE IDCWE-532
CVSS v3.17.5 (High)
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone (to trigger), Low (to view logs)
EPSS Score0.00063 (Low)
Exploit StatusNo Known Exploitation

MITRE ATT&CK Mapping

T1552.001Unsecured Credentials: Credentials in Files
Credential Access
T1090Proxy
Command and Control
CWE-532
Information Exposure Through Log Files

Insertion of Sensitive Information into Log File

Vulnerability Timeline

Vulnerability disclosed on oss-security
2026-01-15
CVE-2025-68675 published
2026-01-16
GHSA-7c2f-r6gc-h92h published
2026-01-16

References & Sources

  • [1]Apache Airflow Mailing List Advisory
  • [2]GHSA-7c2f-r6gc-h92h
  • [3]Openwall oss-security Archive

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-120778
7.3

CVE-2026-120778: Local Elevation of Privilege via Insecure Temporary Directory Handling and MSBuild Response File Hijacking in Microsoft .NET Aspire CLI

A local elevation of privilege vulnerability exists in the Microsoft .NET Aspire CLI (`Aspire.Cli`) versions 13.5.4 prior to 13.6.5. When executing SDK management commands (`aspire sdk generate`, `aspire sdk dump`, and `aspire sdk export`), the CLI creates temporary project directories inside the shared operating system temporary folder (such as `/tmp` on Unix-like systems) without restricting directory permissions or disabling MSBuild automatic response file resolution. A local, low-privileged attacker on a multi-user system can place a crafted `Directory.Build.rsp` file in the shared temporary directory hierarchy. When a victim user executes an affected Aspire CLI command, MSBuild traverses upward, ingests the attacker-controlled response file, and executes arbitrary commands in the security context of the victim user.

Alon Barad
Alon Barad
1 views•10 min read
•about 2 hours ago•CVE-2026-120792
7.3

CVE-2026-120792: Local Information Disclosure via Temporary File Logging in Microsoft .NET Aspire CLI

CVE-2026-120792 is a high-severity local information disclosure vulnerability in the Microsoft .NET Aspire CLI (Aspire.Cli) affecting versions 13.5.4 prior to 13.6.5. The flaw stems from the insertion of sensitive information into a shared temporary log file (CWE-532) combined with insecure temporary file creation (CWE-377) within the DeprecatedMcpCommandScanner component. During agent configuration scanning, the CLI unconditionally appends internal workspace paths and the first 200 characters of Model Context Protocol (MCP) agent configuration files to a statically named file in the system temporary directory. On multi-user systems, unprivileged local users can read this file to harvest API keys, authentication tokens, and internal service endpoints.

Alon Barad
Alon Barad
3 views•9 min read
•about 3 hours ago•CVE-2026-114159
8.8

CVE-2026-114159: Heap-Based Buffer Overflow in Microsoft Visual Studio and .NET Native Symbol Reader

CVE-2026-114159 is a heap-based buffer overflow vulnerability (CWE-122) in Microsoft.DiaSymReader.Native affecting Microsoft Visual Studio and the .NET Runtime on Windows. An integer truncation error during the parsing of oversized document names in Portable PDB symbol files causes an undersized heap allocation, leading to an out-of-bounds memory write and remote code execution.

Alon Barad
Alon Barad
6 views•10 min read
•about 4 hours ago•CVE-2026-114158
8.8

CVE-2026-114158: Heap-Based Buffer Overflow in Microsoft.DiaSymReader.Native Portable PDB Parser

CVE-2026-114158 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported servicing branches of Microsoft .NET (.NET 8.0, 9.0, 10.0, and 11.0) on Windows. The flaw resides in the native symbol reader library, Microsoft.DiaSymReader.Native, and is triggered when parsing Portable Program Database (PDB) metadata containing malformed EmbeddedSource custom debug information records. By supplying a parent Record Identifier (RID) of zero or an out-of-bounds value, an attacker causes an integer underflow during 1-based to 0-based index conversion, leading to a heap-based buffer overflow and arbitrary code execution within the context of the host developer tool or runtime.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 5 hours ago•CVE-2026-114151
8.8

CVE-2026-114151: Remote Code Execution via Stack-Based Buffer Overflow in Microsoft Visual Studio and .NET Symbol Reader

CVE-2026-114151 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported versions of the Microsoft .NET runtime on Windows. The flaw resides in the native Debug Information Access (DIA) symbol reader component, Microsoft.DiaSymReader.Native. When parsing Program Database (.pdb) files, the component fails to validate the length of serialized numeric records (specifically LF_DECIMAL structures) before unpacking them into a fixed-size stack buffer. An attacker who convinces a user or automated diagnostic process to load a crafted .pdb file can trigger a stack-based buffer overflow, resulting in arbitrary code execution within the context of the host process.

Alon Barad
Alon Barad
5 views•9 min read
•about 6 hours ago•GHSA-6856-87HX-P5X7
7.5

CVE-2026-105544: Local Elevation of Privilege in .NET Test Platform CLI

CVE-2026-105544 is a high-severity local elevation of privilege vulnerability in Microsoft .NET and Microsoft.TestPlatform.CLI. Improper access control on local inter-process communication mechanisms and execution brokers allows an authorized local attacker to cross security boundaries and execute arbitrary code in the context of a higher-privileged user running a test execution cycle.

Amit Schendel
Amit Schendel
6 views•9 min read