CVE Catalog

CVE-2026-42047

High
Published: Translated: NVD NIST

Summary

Inngest is a platform for running background functions that in versions 3.22.0 through 3.53.1 contains a vulnerability allowing unauthenticated remote attackers to exfiltrate environment variables from the host process via the serve() HTTP handler. A change introduced in v3.22.0 caused the diagnostic response to include the contents of process.env, exposing secrets and API keys.

Risk Assessment

Organizations may be exposed to the disclosure of sensitive information such as secrets and credentials, potentially leading to further attacks and security breaches.

Recommendation

It is recommended to upgrade to a non-vulnerable version of Inngest and restrict access to the serve() endpoint to only GET, POST, and PUT methods.

Related vulnerabilities

Original NVD description (English source)

Inngest is a platform for running event-driven and scheduled background functions with queueing, retries, and step orchestration. Versions 3.22.0 through 3.53.1 contain a vulnerability that allows unauthenticated remote attackers to exfiltrate environment variables from the host process via the serve() HTTP handler. The serve() handler implements GET, POST, and PUT methods. Requests using PATCH, OPTIONS, or DELETE fall through to a generic handler that returns diagnostic information. A change introduced in v3.22.0 caused this diagnostic response to include the contents of process.env, exposing any secrets, API keys, or credentials present in the environment. An application is vulnerable if its serve() endpoint is reachable via PATCH, OPTIONS, or DELETE requests, which is common in setups like Next.js Pages Router or Express's app.use(...). Not affected are Next.js App Router handlers that export only GET, POST, and PUT, and applications using the connect worker method. This issue has b

Vulnerability data from NVD (NIST) · CISA KEV · EPSS