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·94 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

•33 minutes ago•CVE-2026-22865
7.4

CVE-2026-22865: Dependency Resolution Fallback to Untrusted Repositories in Gradle

Gradle versions prior to 8.14.4 and 9.3.0 fail to classify certain fatal network transport exceptions, such as UnknownHostException and NoHttpResponseException, as critical failures during dependency resolution. When these exceptions occur and retry thresholds are exhausted, Gradle fails to disable the unreachable primary repository and instead falls through to subsequent repositories configured in the build script. An attacker capable of disrupting connectivity to an upstream repository can force the build tool to fetch malicious artifacts with matching coordinates from a downstream, untrusted repository.

Alon Barad
Alon Barad
0 views•10 min read
•2 days ago•CVE-2026-58254
6.5

CVE-2026-58254: Authorization Bypass in NATS Server Message Tracing for Leaf Node Connections

NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.

Alon Barad
Alon Barad
11 views•10 min read
•2 days ago•CVE-2026-63341
7.5

CVE-2026-63341: Unauthenticated Denial of Service via Unbounded Topic Depth in Aedes MQTT Broker

CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.

Alon Barad
Alon Barad
16 views•12 min read
•2 days ago•CVE-2026-61725
6.1

CVE-2026-61725: Path Traversal and Arbitrary File Overwrite in sevenz-rust2

CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.

Alon Barad
Alon Barad
6 views•12 min read
•2 days ago•CVE-2026-77309
8.8

CVE-2026-77309: Unauthenticated Remote Code Execution in NASA-AMMOS AIT-GUI via Incomplete File Cleanup and Path Traversal

CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.

Amit Schendel
Amit Schendel
16 views•10 min read
•2 days ago•CVE-2026-77332
2.3

CVE-2026-77332: Surfaced-Memory Envelope Injection and Stored Prompt Injection in memtomem-stm

A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.

Alon Barad
Alon Barad
19 views•10 min read