# CVE-2018-8025: Race condition in org.apache.hbase:hbase-thrift

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.0, NVD) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.67% (percentile 77, 2026-11-26)
- **CWE:** CWE-362
- **Aliases:** GHSA-r86j-2gc6-2cq9
- **Published:** 2018-06-27T15:00:00.000Z
- **Modified:** 2026-06-17T02:04:07.090Z

## Who should check

- Projects that depend on Maven package org.apache.hbase:hbase-thrift (\>= 2.0.0, \< 2.0.1)
- Anyone running Apache Software Foundation Apache HBase Apache Tomcat 1.x and 2.x, excluding 1.0.0

## Description

CVE-2018-8025 describes an issue in Apache HBase that affects the optional "Thrift 1" API server when running over HTTP. There is a race-condition which could lead to authenticated sessions being incorrectly applied to users, e.g. one authenticated user would be considered a different user or an unauthenticated user would be treated as an authenticated user. https://issues.apache.org/jira/browse/HBASE-20664 implements a fix for this issue. It has been fixed in versions: 1.2.6.1, 1.3.2.1, 1.4.5, 2.0.1.

## Affected and fixed versions

- Maven `org.apache.hbase:hbase-thrift`: affected \>= 2.0.0, \< 2.0.1; fixed 2.0.1, 1.4.5, 1.3.2.1, 1.2.6.1 (osv)
- Apache Software Foundation Apache HBase: Apache Tomcat 1.x and 2.x, excluding 1.0.0 (cvelist)

## Mitigation

- Upgrade org.apache.hbase:hbase-thrift to one of 2.0.1, 1.4.5, 1.3.2.1, 1.2.6.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-8025. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-8025.md
Affected: org.apache.hbase:hbase-thrift >= 2.0.0, < 2.0.1
Fixed in: 2.0.1, 1.4.5, 1.3.2.1, 1.2.6.1

Steps:
1. Search this machine and project for org.apache.hbase:hbase-thrift (Maven), Apache Software Foundation Apache HBase: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-8025 being exploited?

There is no confirmed exploitation: CVE-2018-8025 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.67% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-8025?

High: CVSS 8.1 (v3.0, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2018-8025?

org.apache.hbase:hbase-thrift \>= 2.0.0, \< 2.0.1.

### Is there a fix for CVE-2018-8025?

Yes. Fixed in 2.0.1, 1.4.5, 1.3.2.1, 1.2.6.1. Upgrade org.apache.hbase:hbase-thrift to one of 2.0.1, 1.4.5, 1.3.2.1, 1.2.6.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2018-8025?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-8025>
- vendor: <https://github.com/advisories/GHSA-r86j-2gc6-2cq9>
- patch: <https://github.com/apache/hbase/commit/0c42acbdf86d08af3003105a26a2201f75f2e2c>
- patch: <https://github.com/apache/hbase/commit/30e98b4455f971c9cb3c02ac7b2daeebe4ee6f2>
- patch: <https://github.com/apache/hbase/commit/625d4d002620139f49c8201f95b789b6a715cd4>
- patch: <https://github.com/apache/hbase/commit/7fe07075b35a816725ba18f6dd43d3fa84e08f9>
- patch: <https://github.com/apache/hbase/commit/bf25c1cb7221178388baaa58f0b16a408e151a6>
- other: <http://www.securityfocus.com/bid/104554>
- other: <https://lists.apache.org/thread.html/a919e38f587c714c386a01d40fc8f45bd4219a65aaf2dc0bb4eccc96%40%3Cdev.hbase.apache.org%3E>
- other: <https://issues.apache.org/jira/browse/HBASE-20664>
- other: <https://lists.apache.org/thread.html/a919e38f587c714c386a01d40fc8f45bd4219a65aaf2dc0bb4eccc96@%3Cdev.hbase.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-8025>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r86j-2gc6-2cq9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-8025> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-8025>
