# CVE-2026-42047: Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods

> CVE-2026-42047: Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods. CVSS 8.6 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-42047
Last updated: 2026-06-17T10:47:22Z

- Published: 2026-05-07 20:38 UTC · Updated: 2026-06-17 10:47 UTC · Assigner: GitHub\_M
- CVSS: 8.6 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.38%, 32th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-200, CWE-497

## 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 vendors and products

- inngest: inngest-js

## Tracked companies

- [Inngest](https://rewindex.com/company/inngest.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-42047)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-42047)
- [https://github.com/inngest/inngest-js/releases/tag/inngest%403.54.1](https://github.com/inngest/inngest-js/releases/tag/inngest%25403.54.1)
- [https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx](https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-42047 · Markdown: https://rewindex.com/cve/CVE-2026-42047.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-42047 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:16:00.139Z
