{"cve":"CVE-2026-42047","nvd":{"published":"2026-05-07T21:16:29.980","modified":"2026-10-26T20:10:00.160","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6},"cwes":["CWE-200","CWE-497"],"references":["https://github.com/inngest/inngest-js/releases/tag/inngest%403.54.1","https://github.com/inngest/inngest-js/security/advisories/GHSA-2jf5-6wwv-vhxx"],"products":["inngest:inngest"],"source":"nvd","synced_at":"2026-10-26T20:34:58.897451322+00:00"},"epss":{"cve":"CVE-2026-42047","score":0.00383,"percentile":0.32045,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-2jf5-6wwv-vhxx","url":"https://osv.dev/vulnerability/GHSA-2jf5-6wwv-vhxx","summary":"Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods","modified":"2026-05-11T13:53:13.460971Z","packages":[{"ecosystem":"npm","name":"inngest","purl":"pkg:npm/inngest","ranges":[">=3.22.0 <3.54.0"],"fixed":["3.54.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}