CVE-2026-145065: Trigger.dev CLI before 4.8.2 World-Readable Personal Access Token Storage
Trigger.dev CLI before 4.8.2 contains an insecure file permissions vulnerability that allows local users to read stored Personal Access Tokens because writeAuthConfigFile omits a restrictive file mode. Other users on shared hosts, CI runners, or containers can read the world-readable config.json file to steal full-scope PATs and access every organization the user belongs to.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.8.2
Event History
Frequently Asked Questions
Who is exposed to token theft from this issue?
Users running affected CLI versions on shared hosts, CI runners, or containers are exposed when other local users can read the CLI's config.json file. The stored Personal Access Tokens are world-readable and have full scope.
What access does an attacker need to exploit this vulnerability?
An attacker needs local access to the system or environment where the affected CLI wrote its authentication configuration. No user interaction is required once the attacker can read the world-readable config.json file.
What can a stolen token access?
A stolen Personal Access Token can provide access to every organization the token owner belongs to.
How can I determine whether my environment is affected?
Check whether npm/@trigger.dev/cli is earlier than 4.8.2 and whether its stored config.json file is readable by users other than the token owner. Environments with multiple local users, shared runners, or shared containers warrant particular attention.