# CVE-2026-13512: Databend Tenant client_session_manager.rs state_key authorization

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-28T22:45:10.824Z
- Modified: 2026-06-30T18:16:43.397Z
- Weaknesses: CWE-285, CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was identified in Databend up to 1.2.881 on HTTP. This affects the function ClientSessionManager::state_key of the file src/query/service/src/servers/http/v1/session/client_session_manager.rs of the component Tenant Handler. The manipulation leads to authorization bypass. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. The pull request to fix this issue awaits acceptance.

(As written by CVE List.)

## Affected

- Databend: 1.2.881

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/databendlabs/databend/issues/19930> (exploit, issue-tracking)
- <https://vuldb.com/vuln/374520> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/374520/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-13512> (third-party-advisory)
- <https://vuldb.com/submit/838874> (third-party-advisory)
- <https://github.com/databendlabs/databend/pull/19931> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-13512](https://www.cve.org/CVERecord?id=CVE-2026-13512), CVE Terms of Use, modified 2026-06-30
- NVD: [CVE-2026-13512](https://nvd.nist.gov/vuln/detail/CVE-2026-13512), Public domain, modified 2026-06-30

---

Page: https://cve.day/CVE-2026-13512 · Whole record: https://cve.day/CVE-2026-13512.json · Rebuilt by cve.day 2026-11-25T22:59:26.580Z
