CVE-2026-42047 Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| inngest | >= 3.22.0, < 3.54.0 | 3.54.0 | Fixed |
| npm inngest(npm) | >= 3.22.0, < 3.54.0 | 3.54.0 | Fixed |
| inngest-js | = >= 3.22.0, < 3.54.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| inngest-js | = >= 3.22.0, < 3.54.0 | No fix listed |
| npm inngest(npm) | >= 3.22.0, < 3.54.0 | 3.54.0 |
| inngest | >= 3.22.0, < 3.54.0 | 3.54.0 |
References
- https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx mitigation vendor-advisory
- https://github.com/inngest/inngest-js/releases/tag/inngest%403.54.1 patch product
- vercel.com
- vercel.com
- www.inngest.com
- www.inngest.com
- www.inngest.com
- www.inngest.com
- www.inngest.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product