CVE-2026-42047
Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods
Also known as GHSA-2jf5-6wwv-vhxx
Mitigation
- Upgrade inngest to 3.54.0 or later.
Who should check
- Projects that depend on npm package inngest (>= 3.22.0, < 3.54.0)
- Anyone running inngest-js >= 3.22.0, < 3.54.0
Vulnerability facts
- Affected
- inngest >= 3.22.0, < 3.54.0
- Fixed in
- 3.54.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.55% chance of exploitation in 30 days (percentile 40, 2026-11-26)
- CWE
- CWE-200, CWE-497
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm inngest | >= 3.22.0, < 3.54.0 | 3.54.0 | osv |
| inngest-js | >= 3.22.0, < 3.54.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-42047. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-42047.md Affected: inngest >= 3.22.0, < 3.54.0 Fixed in: 3.54.0 Steps: 1. Search this machine and project for inngest (npm), inngest-js: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://github.com/inngest/inngest-js
- https://vercel.com/docs/deployment-protection#standard-protection
- https://vercel.com/kb/guide/how-do-i-delete-an-individual-deployment
- https://www.inngest.com/docs/events/creating-an-event-key
- https://www.inngest.com/docs/learn/security
- https://www.inngest.com/docs/learn/serving-inngest-functions
- https://www.inngest.com/docs/platform/manage/rotating-keys
- https://www.inngest.com/docs/platform/signing-keys
FAQ
Is CVE-2026-42047 being exploited?
There is no confirmed exploitation: CVE-2026-42047 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-42047?
High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-42047?
inngest >= 3.22.0, < 3.54.0.
Is there a fix for CVE-2026-42047?
Yes. Fixed in 3.54.0. Upgrade inngest to 3.54.0 or later.
How do I check if I'm affected by CVE-2026-42047?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.