# CVE-2026-55837: dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- 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.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T21:15:40.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-jr33-mw75-7j8f, PYSEC-2026-2443
- Weaknesses: CWE-200, CWE-306, CWE-346
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

dbt-mcp is a Model Context Protocol server for interacting with dbt. Prior to 1.20.0, the local OAuth helper in src/dbt_mcp/oauth/fastapi_app.py exposes GET /dbt_platform_context without authentication or Host validation after a user completes the dbt Platform OAuth flow. The endpoint returns the full DbtPlatformContext, including access_token and refresh_token values persisted by the context manager, to any process that can reach 127.0.0.1:6785. The absence of TrustedHostMiddleware allows a remote attacker to use DNS rebinding against a victim's browser because the helper accepts arbitrary Host headers, while a co-located process can request the endpoint directly. The stolen tokens provide immediate dbt Platform API access as the victim and persistent access through the refresh token, allowing access to or modification of projects, jobs, environment secrets, and related account data. This issue is fixed in version 1.20.0.

(As written by CVE List.)

## Affected

- dbt-labs dbt-mcp: < 1.20.0
- dbt-mcp (PyPI): before 1.20.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f> (exploit, web)
- <https://github.com/dbt-labs/dbt-mcp/pull/789>
- <https://github.com/dbt-labs/dbt-mcp/commit/b8bdb40f90ed29f6b36176c5f6c697aa27a035a9>
- <https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.20.0>
- <https://github.com/dbt-labs/dbt-mcp> (package)
- <https://pypi.org/project/dbt-mcp> (package)
- <https://github.com/advisories/GHSA-jr33-mw75-7j8f> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55837> (advisory)

## Sources

- CVE List: [CVE-2026-55837](https://www.cve.org/CVERecord?id=CVE-2026-55837), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-jr33-mw75-7j8f](https://github.com/advisories/GHSA-jr33-mw75-7j8f), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-55837](https://nvd.nist.gov/vuln/detail/CVE-2026-55837), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-2443](https://osv.dev/vulnerability/PYSEC-2026-2443), CC-BY-4.0, modified 2026-07-13

---

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