Skip to content

Possible HTTP allowed-list regression introduced in commit 0354ddf8

Moderate
loicmathieu published GHSA-g769-pv29-qhff Sep 29, 2026

Package

maven io.kestra:core (Maven)

Affected versions

2.0.1

Patched versions

2.0.2

Description

Summary

kestra.tasks.http.allowed-list entries match the configured host and all of its
subdomains
. With https://api.trusted.com allowed, a flow can also reach
https://foo.api.trusted.com. This is undocumented, so an operator who configures an
exact host gets a broader egress policy than they asked for.

Impact

Affects only deployments that have explicitly configured
kestra.tasks.http.allowed-list. The list is empty by default, and an unconfigured
instance has no restriction to bypass and is not affected.

The control governs the HTTP task family (Request, Download, SseRequest), the HTTP
polling trigger, and the Pebble {{ http(uri=...) }} function. An actor able to author
or influence a flow can reach any subdomain of an allowed host. Exploitability depends
on the operator's DNS layout: it matters where a subdomain under the allowed host is
attacker-registrable (notably multi-tenant hosts such as blob.core.windows.net) or
serves something the policy was meant to exclude.

The allow-list is read from server configuration via the application context and cannot
be overridden from flow YAML or plugin defaults.

Affected and patched versions

Affected: 2.0.1 only. The allow-list feature did not exist before 2.0.0, and 2.0.0
matched differently; see GHSA-gxqx-8c54-274x, which this behaviour replaced.

Patched: 2.0.2. An entry now matches its exact host only; write *.api.trusted.com to
include subdomains.

Workaround

Until upgrading, list each host that should be reachable explicitly, and audit allowed
entries for subdomains you do not intend to permit; particularly any host on a
multi-tenant domain.

Credit

Reported by @dhruv0703.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

CVE ID

No known CVE

Weaknesses

Permissive List of Allowed Inputs

The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses. Learn more on MITRE.

Credits