PyPI: dbt-core

SFTY-20241001-19424

Safety legacy ID: pyup.io-73530

Affected versions of the dbt package are potentially vulnerable to Improper Access Control (CWE-284). The documentation server (ServeTask) binds to all network interfaces, which allows remote attackers to connect and potentially exploit the server. The vulnerable function is the TCPServer configuration in serve.py. This flaw can be exploited remotely, depending on the network configuration, leading to unauthorized access. To mitigate this issue, the server bound to 127.0.0.1, limiting access to localhost.

Created at: Nov 5, 2025Updated at: Nov 5, 2025

Overview

Affected versions of the dbt package are potentially vulnerable to Improper Access Control (CWE-284). The documentation server (ServeTask) binds to all network interfaces, which allows remote attackers to connect and potentially exploit the server. The vulnerable function is the TCPServer configuration in serve.py. This flaw can be exploited remotely, depending on the network configuration, leading to unauthorized access. To mitigate this issue, the server bound to 127.0.0.1, limiting access to localhost.

Advisory

Affected versions of the dbt package are potentially vulnerable to Improper Access Control (CWE-284). The documentation server (ServeTask) binds to all network interfaces, which allows remote attackers to connect and potentially exploit the server. The vulnerable function is the TCPServer configuration in serve.py. This flaw can be exploited remotely, depending on the network configuration, leading to unauthorized access. To mitigate this issue, the server bound to 127.0.0.1, limiting access to localhost.

Affected Package

Affecting dbt-core package, versions<1.9.0b1

Also affects

---

How to Fix

Upgradedbt-coreto1.9.0b1or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more