Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-2c9q-c2q9-qgqv

Опубликовано: 19 авг. 2026
Источник: github
Github: Прошло ревью
CVSS3: 5.9

Описание

langgraph-api: Relative webhook targets in LangGraph Server can reach in-process routes without authentication

Summary

In affected versions of langgraph-api (the LangGraph Server runtime), a run or cron could be created with a relative webhook target. When the server later delivers such a webhook, it routes the request back into the same application through an in-process loopback transport that the authentication middleware treats as internal and does not authenticate. As a result, a relative webhook target could reach the server's own routes that operate on threads and runs without the authentication context that applies to ordinary external requests.

In deployments that scope threads and runs by owner, this could allow a request associated with one user to reach routes operating on another user's thread, resulting in creation of a run on (or modification of the state of) a thread owned by another user, even where the corresponding direct external requests were correctly denied. Limited metadata from the targeted thread may be incorporated into the created run record.

We have no evidence of this behavior occurring in the wild.

Affected users / systems

You may be affected if you:

  • run langgraph-api (the LangGraph Server / Agent Server runtime, including via the LangGraph Platform Helm chart),
  • allow runs or crons to specify webhook targets, and
  • rely on per-user authorization to separate threads and runs between users.

Impact

  • Integrity: creation of a run on, or modification of the state of, a thread owned by another user, beyond the requesting user's authorization scope.
  • Confidentiality: limited exposure of another user's thread metadata, incorporated into the created run record.

Patches / mitigation

The webhook URL policy now denies loopback delivery by default: the webhooks.url.disable_loopback policy defaults to enabled. This covers relative webhook targets routed through the in-process transport, as well as localhost-style hostnames, loopback address ranges, and hostnames that resolve into the loopback range. Deployments that legitimately deliver webhooks to a route hosted on the same process can opt back in by setting webhooks.url.disable_loopback: false in langgraph.json (or the equivalent LANGGRAPH_WEBHOOKS configuration); do so only when you control the routes those webhooks reach, as they are delivered without authentication. Fixed in langgraph-api 0.10.0.

Operational guidance

  • Upgrade to a release containing this change and keep loopback webhook delivery disabled unless required.
  • If loopback delivery is enabled, restrict it to routes you control and apply authorization within those routes.

Пакеты

Наименование

langgraph-api

pip
Затронутые версииВерсия исправления

< 0.10.0

0.10.0

EPSS

Процентиль: 15%
0.00234
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-287

Связанные уязвимости

CVSS3: 5.9
nvd
9 дней назад

langgraph-api implements the LangGraph API for rapid development and testing. Prior to 0.10.0, langgraph-api permits a run or cron to specify a relative webhook target that is delivered through an in-process loopback transport, and the authentication middleware treats that transport as internal without applying the authentication context used for external requests. In deployments that rely on per-user authorization to separate threads and runs, an authenticated user can direct a webhook to the server's own thread and run routes, allowing creation of a run on or modification of another user's thread and limited incorporation of the targeted thread's metadata into the created run record. The affected path requires webhook targets and per-user authorization boundaries; deployments that deliberately re-enable loopback delivery should restrict it to controlled same-process routes because those webhooks remain unauthenticated. This issue is fixed in version 0.10.0.

EPSS

Процентиль: 15%
0.00234
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-287