CVE-2026-135299: Convoy before 26.3.7 Arbitrary File Read via require() in Source Test Endpoint
Convoy before 26.3.7 contains an arbitrary file read vulnerability that allows any project API key holder, including viewer-scoped keys, to read host files via require() in JavaScript transform functions. Attackers can submit a function to the sources/testfunction endpoint calling require on a file path to disclose configuration files containing database credentials and secrets.
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 26.3.7
Event History
Frequently Asked Questions
Who can exploit this issue?
Any holder of a Convoy project API key can exploit it, including keys with viewer scope. The attacker needs network access to the affected Convoy API and a valid project API key.
What data could be exposed?
An attacker can use require() in a JavaScript transform function submitted to the sources/test_function endpoint to read files from the Convoy host. This can disclose configuration files containing database credentials and other secrets.
Are default low-privilege API keys sufficient for exploitation?
Viewer-scoped project API keys are sufficient. No higher-privileged project key is required according to the available information.
What version resolves the issue?
Upgrade Convoy to version 26.3.7 or later. Versions before 26.3.7 are affected.