CVE-2026-42047
Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods
Description
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 been fixed in version 3.54.0. To work around this issue if upgrading is not immediately possible, restrict the serve() endpoint at the framework or reverse-proxy layer to accept only GET, POST, and PUT. The Inngest serve() endpoint does not require any other HTTP methods.
INFO
Published Date :
May 7, 2026, 9:16 p.m.
Last Modified :
Oct. 26, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Inngest to version 3.54.0 or later.
- Restrict serve() endpoint to GET, POST, PUT.
- Review accessible environment variables for compromise.
Public PoC/Exploit Available at Github
CVE-2026-42047 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-42047.
| URL | Resource |
|---|---|
| https://github.com/inngest/inngest-js/releases/tag/inngest%403.54.1 | Patch Product |
| https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx | Mitigation Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-42047 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-42047
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-42047 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-42047 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: inngest-js de inngest, Description: Inngest es una plataforma para ejecutar funciones en segundo plano impulsadas por eventos y programadas con encolamiento, reintentos y orquestación de pasos. Las versiones 3.22.0 a 3.53.1 contienen una vulnerabilidad que permite a atacantes remotos no autenticados exfiltrar variables de entorno del proceso anfitrión a través del gestor HTTP ’serve()’. El gestor ’serve()’ implementa los métodos GET, POST y PUT. Las solicitudes que utilizan PATCH, OPTIONS o DELETE pasan a un gestor genérico que devuelve información de diagnóstico. Un cambio introducido en la v3.22.0 hizo que esta respuesta de diagnóstico incluyera el contenido de ’process.env’, exponiendo cualquier secreto, claves API o credenciales presentes en el entorno. Una aplicación es vulnerable si su punto final ’serve()’ es accesible a través de solicitudes PATCH, OPTIONS o DELETE, lo cual es común en configuraciones como Next.js Pages Router o ’app.use(...)’ de Express. No se ven afectados los gestores de Next.js App Router que exportan solo GET, POST y PUT, y las aplicaciones que utilizan el método de trabajador connect. Este problema ha sido solucionado en la versión 3.54.0. Para solucionar este problema si la actualización no es posible de inmediato, restrinja el punto final ’serve()’ en la capa del framework o del proxy inverso para que acepte solo GET, POST y PUT. El punto final ’serve()’ de Inngest no requiere ningún otro método HTTP. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'inngest', 'product': 'inngest-js', 'versions': [{'status': 'affected', 'version': '>= 3.22.0, < 3.54.0'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-42047', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-08T13:52:40.509395Z'} -
Initial Analysis by [email protected]
May. 13, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:inngest:inngest:*:*:*:*:*:node.js:*:* versions from (including) 3.22.0 up to (excluding) 3.54.0 Added Reference Type GitHub, Inc.: https://github.com/inngest/inngest-js/releases/tag/inngest%403.54.1 Types: Patch, Product Added Reference Type GitHub, Inc.: https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx Types: Mitigation, Vendor Advisory -
New CVE Received by [email protected]
May. 07, 2026
Action Type Old Value New Value Added Description 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 been fixed in version 3.54.0. To work around this issue if upgrading is not immediately possible, restrict the serve() endpoint at the framework or reverse-proxy layer to accept only GET, POST, and PUT. The Inngest serve() endpoint does not require any other HTTP methods. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N Added CWE CWE-200 Added CWE CWE-497 Added Reference https://github.com/inngest/inngest-js/releases/tag/inngest%403.54.1 Added Reference https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx