Impala logs contain secrets
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-288 and CWE-532.
Summary
Impala sessions use a 16 byte secret to verify that the session is not being hijacked by another user. However, these secrets appear in the Impala logs, therefore Impala users with access to the logs can use another authenticated user's sessions with specially constructed requests. This means the attacker is able to execute statements for which they don't have the necessary privileges otherwise. Impala deployments with Apache Sentry or Apache Ranger authorization enabled may be vulnerable to privilege escalation if an authenticated attacker is able to hijack a session or query from another authenticated user with privileges not assigned to the attacker. Impala deployments with audit logging enabled may be vulnerable to incorrect audit logging as a user could undertake actions that were logged under the name of a different authenticated user. Constructing an attack requires a high degree of technical sophistication and access to the Impala system as an authenticated user. Mitigation: If an Impala deployment uses Apache Sentry, Apache Ranger or audit logging, then users should upgrade to a version of Impala with the fix for IMPALA-10600. The Impala 4.0 release includes this fix. This hides session secrets from the logs to eliminate the risk of any attack using this mechanism. In lieu of an upgrade, restricting access to logs that expose secrets will reduce the risk of an attack. Restricting access to the Impala deployment to trusted users will also reduce the risk of an attack. Log redaction techniques can be used to redact secrets from the logs.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28131
- 2026-10-03 Alias added: GHSA-h765-v877-jmq3
References
Advisory 2
More Apache Impala vulnerabilities
- TI-2026-40572 Apache Impala: SAML authentication bypass via forged bearer token CVSS 3.1CRITICAL 9.8
- TI-2018-08448 Incorrect permission assignment in Apache Impala CVSS 3.0CRITICAL 9.8
- TI-2017-03640 Improper authentication in Apache Impala CVSS 3.0CRITICAL 9.8
- TI-2026-41667 Apache Impala: Secrets Exfiltration via SSRF CVSS 3.1HIGH 8.8
- TI-2026-46513 Apache Impala: RCE via External Data Source Class Loading CVSS 3.1HIGH 8.1
- TI-2019-07409 Session fixation in Apache Impala CVSS 3.1HIGH 7.5
Sources
- CVE-2021-28131 · CVE Program
- CVE-2021-28131 · NVD
- FIRST EPSS
- GHSA-h765-v877-jmq3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences