CVE-2026-42047
published high CVSS 3.1 · 8.6Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| inngest | — | inngest-js>= 3.22.0, < 3.54.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| inngest | inngest-js | >= 3.22.0, < 3.54.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-497 CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
2Provider assertions
2GitHub_M · cna
Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e07c4401c64761512be2e0fe0f93c66aec24e14b849c501a3880547e21bc6b2d
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record