---
id: CVE-2025-62232
title: >-
  Sensitive data exposure via logging in basic-auth leads to plaintext usernames
  and passwords written to error logs and forwarded to log sinks when log level
  is INFO/DEBUG
summary: >-
  Sensitive data exposure via logging in basic-auth leads to plaintext usernames
  and passwords written to error logs and forwarded to log sinks when log level
  is INFO/DEBUG. This creates a high risk of credential compromise through log
  acc…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-532
vendor: apache
product: apisix
affected:
  - 'apisix >= 1.0, < 3.14.0'
patched:
  - apisix 3.14.0
published: '2025-10-31'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-62232'
references:
  - url: 'https://lists.apache.org/thread/32hdgh570btfhg02hfc7p7ckf9v83259'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/10/30/4'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00476
epssPercentile: 0.3912
ingestedAt: '2026-10-07T21:54:14.916Z'
---

## Overview

Sensitive data exposure via logging in basic-auth leads to plaintext usernames and passwords written to error logs and forwarded to log sinks when log level is INFO/DEBUG. This creates a high risk of credential compromise through log access.
It has been fixed in the following commit:  https://github.com/apache/apisix/pull/12629 
Users are recommended to upgrade to version 3.14, which fixes this issue.

## Affected

- `apisix >= 1.0, < 3.14.0`

## Remediation

Upgrade past the affected range:

- `apisix 3.14.0`
