CVE-2026-78242

Apache APISIX: data-mask may fail to redact request headers in logger output

Published Oct 1, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
Insertion of sensitive information into log file vulnerability in Apache APISIX.



This vulnerability can cause the unmasked header value to be written to the log sink under a certain response structure. 



This issue affects Apache APISIX: 3.17.0.



Users are recommended to upgrade to version 3.18.0, which fixes the issue.

Analysis

AI-generated

Technical impact

The data‑mask filter in Apache APISIX fails to redact certain request headers, allowing those header values to be written to log files when a specific response structure is used. This flaw can expose confidential information to anyone with access to the logs, thereby compromising confidentiality.

Affected Systems

Apache Software Foundation Apache APISIX version 3.17.0 is affected by this vulnerability.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity, and the EPSS score is not available while the issue is not listed in CISA's KEV catalog. The flaw requires that an attacker generate requests that trigger the vulnerable logging path; if the resulting logs are accessible, the attacker can read sensitive header contents. The risk is highest when logs are stored in insecure locations or are readable by privileged users with improper access controls.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache APISIX to version 3.18.0 or later to receive the data‑mask fix.
  • Verify that the data‑mask configuration is active and correctly redacts request headers in all log outputs.
  • Restrict filesystem permissions on log files so that only privileged accounts can read them.

Generated by OpenCVE AI on October 1, 2026 at 14:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache apisix
Vendors & Products Apache
Apache apisix
Type Values Removed Values Added
Description Insertion of sensitive information into log file vulnerability in Apache APISIX. This vulnerability can cause the unmasked header value to be written to the log sink under a certain response structure.  This issue affects Apache APISIX: 3.17.0. Users are recommended to upgrade to version 3.18.0, which fixes the issue.
Title Apache APISIX: data-mask may fail to redact request headers in logger output
Weaknesses CWE-532
References
Metrics cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 1, 2026, 2:57 PM
Reserved
Aug 24, 2026, 4:59 AM
Status
Deferred
Published
Oct 1, 2026, 11:17 AM
Modified
Oct 1, 2026, 3:17 PM