CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-QXPP-QJG8-X4JV

GHSA-QXPP-QJG8-X4JV: Cross-Tenant Run Replay and Task Injection in Trigger.dev

Alon Barad
Alon Barad
Software Engineer

Oct 2, 2026·5 min read·14 visits

Executive Summary (TL;DR)

Authenticated attackers can execute tasks inside other tenants' environments by specifying a foreign environmentId during task replay, bypassing tenant isolation.

A critical Broken Object Level Authorization (BOLA) vulnerability was identified in Trigger.dev before version v4.5.2. An authenticated attacker could trigger a run replay and supply an arbitrary target environmentId belonging to a completely different tenant. Because the server failed to validate whether the target environment belonged to the same project or organization as the source run, it would execute the task within the victim's environment, resulting in unauthorized cross-tenant write operations and remote task execution.

Vulnerability Overview

Trigger.dev is an open-source background jobs framework designed to facilitate complex task orchestration and scheduling. The platform exposes various API endpoints to trigger, monitor, and replay task executions. Security assessment of the task replay workflow revealed a critical Broken Object Level Authorization (BOLA) vulnerability, tracked as GHSA-QXPP-QJG8-X4JV.

This vulnerability allows an authenticated attacker to inject and execute arbitrary tasks in a victim's execution environment. The attack is executed by manipulating the target environment identifier during a task replay request. Because the backend does not validate organization or project boundaries when resolving the target environment, cross-tenant execution is achieved.

The vulnerability affects all self-hosted and cloud deployments of Trigger.dev prior to version v4.5.2. This vulnerability has been remediated in the official v4.5.2 security release.

Root Cause Analysis

The root cause of GHSA-QXPP-QJG8-X4JV lies in the logical implementation of the task run replay service, specifically within the ReplayTaskRunService component. In Trigger.dev, task runs are associated with runtime environments which belong to projects and organizations. When a user requests a replay of a completed task, they can optionally specify override options including a new target environment identifier via the environmentId parameter.

The service handled this override by querying the database for the provided environment ID using the internal lookup function findEnvironmentById. This lookup did not apply any multi-tenancy constraints or check whether the target environment belonged to the same project or organization as the original task run.

Because the lookup operated on a global database scope, any valid environment ID could be resolved. Consequently, when the service proceeded to queue and schedule the replayed task, it initiated execution context within the retrieved target environment, even if that environment belonged to an entirely different customer tenant.

Code Analysis

To understand the precise vulnerability and its remediation, analyze the difference in apps/webapp/app/v3/services/replayTaskRun.server.ts before and after the security patch. In the vulnerable version, the service class accepted the input and immediately resolved the target environment.

// Pre-patch implementation
export class ReplayTaskRunService extends BaseService {
  public async call(existingTaskRun: TaskRun, overrideOptions: OverrideOptions = {}) {
    const authenticatedEnvironment = await findEnvironmentById(
      overrideOptions.environmentId ?? existingTaskRun.runtimeEnvironmentId
    );
    // ... execution continues without verifying project tenancy
  }
}

The security patch introduced in commit 34b1a181c2a1d33a53ebab88f84b05f81fea4254 introduces a strict boundary check. If an override environment ID is supplied and differs from the source environment, the server retrieves both records and compares their respective project identifiers.

// Patched implementation
export class ReplayTaskRunService extends BaseService {
  public async call(existingTaskRun: TaskRun, overrideOptions: OverrideOptions = {}) {
    if (
      overrideOptions.environmentId &&
      overrideOptions.environmentId !== existingTaskRun.runtimeEnvironmentId
    ) {
      const [overrideEnvironment, sourceEnvironment] = await Promise.all([
        this._prisma.runtimeEnvironment.findFirst({
          where: { id: overrideOptions.environmentId },
          select: { projectId: true },
        }),
        this._prisma.runtimeEnvironment.findFirst({
          where: { id: existingTaskRun.runtimeEnvironmentId },
          select: { projectId: true },
        }),
      ]);
      if (
        !overrideEnvironment ||
        !sourceEnvironment ||
        overrideEnvironment.projectId !== sourceEnvironment.projectId
      ) {
        logger.warn("Refusing to replay a run into an environment outside its project", {
          taskRunId: existingTaskRun.id,
          sourceEnvironmentId: existingTaskRun.runtimeEnvironmentId,
          overrideEnvironmentId: overrideOptions.environmentId,
        });
        throw new Error("Cannot replay a run into an environment outside its project");
      } 
    }
 
    const authenticatedEnvironment = await findEnvironmentById(
      overrideOptions.environmentId ?? existingTaskRun.runtimeEnvironmentId
    );
  }
}

The remediation is complete because it relies on project-level matching rather than user input. By querying both environmental records from the database and demanding strict equivalence of their projectId values, the system prevents cross-project resource pollution.

Exploitation Methodology

Exploitation of GHSA-QXPP-QJG8-X4JV requires the attacker to possess a valid account on the target Trigger.dev instance. This grants the attacker the ability to execute their own tasks and perform replay operations. The attacker must also acquire the target environment identifier of the victim's workspace.

With these prerequisites satisfied, the attacker generates a standard HTTP POST request to the task replay endpoint of one of their own tasks. By inserting the victim's environment identifier into the overrideOptions JSON object, the attacker directs the execution context to the victim's workspace.

POST /api/v1/runs/run_attacker_1/replay HTTP/1.1
Host: app.trigger.dev
Authorization: Bearer tr_secret_attacker_api_key
Content-Type: application/json
 
{
  "overrideOptions": {
    "environmentId": "victim-environment-id-here"
  }
}

Upon receiving this request, the vulnerable server schedules the execution of the attacker's tasks inside the victim's environment. The tasks run with the permissions, environment variables, and connections configured in the victim's workspace, leading to unauthorized write operations.

Impact Assessment

The impact of this Broken Object Level Authorization vulnerability is high, representing a complete breach of tenant isolation. An attacker executing arbitrary tasks inside a victim's environment can read sensitive secrets, manipulate external databases connected to the background tasks, or execute server-side code within the runner infrastructure.

Furthermore, because background tasks are executed on the victim's compute resources, an attacker can consume the victim's execution quotas, resulting in resource exhaustion and financial loss. The scope of exploitation is classified as Changed because the attacker leverages an account in one logical scope to manipulate assets in an entirely separate security domain.

Applying the CVSS v3.1 framework, this vulnerability yields a score of 9.9. The high severity is driven by the ease of exploitation, low privileges required, and severe consequences for confidentiality, integrity, and availability.

Remediation & Prevention

To mitigate this vulnerability, administrators of self-hosted Trigger.dev instances must upgrade to version v4.5.2 or later. This release enforces the structural checks required to block cross-project task replays.

For organizations operating self-hosted instances that cannot immediately upgrade, access to the Trigger.dev API and dashboard should be restricted using network-level controls or web application firewall policies. Modifying database records or applying temporary application-level middleware to drop replay requests containing the overrideOptions.environmentId field can also serve as temporary workarounds.

Development teams should establish automated security tests to verify authorization boundaries during API operations. Specifically, test cases should assert that attempting to access, update, or execute resources across different project identifiers results in an authorization failure.

Official Patches

Trigger.devOfficial v4.5.2 release fixing GHSA-QXPP-QJG8-X4JV

Fix Analysis (1)

Technical Appendix

CVSS Score
9.9/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected Systems

Trigger.dev Self-Hosted Web ApplicationTrigger.dev Cloud Services (prior to v4.5.2)

Affected Versions Detail

Product
Affected Versions
Fixed Version
Trigger.dev
Trigger.dev
< 4.5.24.5.2
AttributeDetail
CWE IDCWE-639 / CWE-285
Attack VectorNetwork
CVSS v3.1 Score9.9 (Critical)
Exploit Statuspoc
KEV StatusNot Listed
Vulnerability ClassBroken Object Level Authorization (BOLA)

MITRE ATT&CK Mapping

T1078Valid Accounts
Initial Access
T1548Abuse Elevation Control Mechanism
Privilege Escalation
T1565Data Manipulation
Impact
CWE-639
Authorization Bypass Through User-Controlled Key

The system fails to check if the user is authorized to access or modify a resource when they provide a direct identifier.

Known Exploits & Detection

GitHub Security AdvisoryVulnerability disclosure detailing BOLA in task run replay workflows.

References & Sources

  • [1]GHSA-QXPP-QJG8-X4JV Advisory
  • [2]Fix Commit
  • [3]Pull Request

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 2 hours ago•CVE-2026-9639
6.5

CVE-2026-9639: Authenticated Denial of Service via Nil-Pointer Dereference in Canonical LXD Custom Volume Backup Import

CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 3 hours ago•CVE-2026-33050
8.8

CVE-2026-33050: OS Command Injection in GeoNode Vector Upload Handler

An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.

Alon Barad
Alon Barad
5 views•9 min read
•about 4 hours ago•CVE-2026-46429
5.5

CVE-2026-46429: Unrestricted File Upload and Validation Bypass in GeoNode

GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 5 hours ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
7 views•9 min read
•about 6 hours ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
6 views•11 min read
•about 7 hours ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
5 views•10 min read