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/test_function endpoint calling require on a file path to disclose configuration files containing database credentials and secrets.
https://github.com/frain-dev/convoy/tree/v26.3.7
https://github.com/frain-dev/convoy/pull/2659
https://github.com/frain-dev/convoy/commit/a11814921139659fcc7ace6cb73ca9f908c01910
https://github.com/frain-dev/convoy/blob/v26.3.5/pkg/transform/transform.go#L95