Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| inngest | inngest-js | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Inngest | Inngest-js |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2jf5-6wwv-vhxx | Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.383% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Inngest inngest
|
|
| CPEs | cpe:2.3:a:inngest:inngest:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Inngest inngest
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Inngest
Inngest inngest-js |
|
| Vendors & Products |
Inngest
Inngest inngest-js |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Inngest TypeScript SDK exposes environment variables via serve() handler on unhandled HTTP methods | |
| Weaknesses | CWE-200 CWE-497 |
|
| References |
| |
| Metrics |
cvssV3_1
|