AWS Lambda Node.js 18 runtime is end-of-life
End of life as of 2025-09-01. Replacement: nodejs24.x or nodejs22.x. Source: AWS Lambda runtimes.
Check a version:
evergreen check pkg:generic/aws-lambda-runtime/nodejs18.x
The AWS Lambda runtimes table lists nodejs18.x under Deprecated runtimes with deprecation date 2025-09-01. AWS no longer applies security or other updates to that managed runtime.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of life |
| Severity | high |
| Ecosystem | serverless |
| Component | pkg:generic/aws-lambda-runtime/nodejs18.x |
| Affected versions | vers:semver/* |
| Date from the source | 2025-09-01 |
| Replacement | nodejs24.x or nodejs22.x |
| Evidence last seen | 2026-10-30 |
| Reviewed | 2026-10-30 by arminazimi |
| Review due | 2027-01-28 (90 days after the last review) |
| Rule ID | serverless.aws-lambda.nodejs18.x |
Sources
- AWS Lambda runtimes (accessed 2026-10-30)
Migration
Constraints
- Keep provider.runtime, Globals.Function.Runtime, per-function Runtime, and Terraform aws_lambda_function.runtime on one AWS Lambda runtime identifier that AWS still supports.
- Raising the managed runtime can require Node.js language and dependency changes; confirm handlers and native modules run on the replacement before deploying.
Steps
- Raise the AWS Lambda runtime. Change the reported Runtime (or provider.runtime / terraform runtime) from nodejs18.x to a supported AWS Lambda Node.js identifier (see the replacement).
- Align other runtime surfaces. Update every other SAM/CloudFormation Globals or function Runtime, serverless.yml provider or function runtime, Terraform aws_lambda_function.runtime, and CI deploy config that still pins nodejs18.x.
Verification
sam validate || serverless print || terraform validate: Validate the updated SAM, Serverless Framework, or Terraform declaration before deploy.
Detected by
The serverless detector. See Detectors and Compatibility.
Related
Same ecosystem
- AWS Lambda .NET 10 runtime reaches end of life on 2028-11-14
- AWS Lambda .NET 5 (container only) runtime is end-of-life
- AWS Lambda .NET 6 runtime is end-of-life
- AWS Lambda .NET 7 (container only) runtime is end-of-life
- AWS Lambda .NET 8 runtime reaches end of life on 2026-11-10
- AWS Lambda .NET 9 (container only) runtime reaches end of life on 2026-11-10
- AWS Lambda .NET Core 1.0 runtime is end-of-life
- AWS Lambda .NET Core 2.0 runtime is end-of-life
Data
This page is generated from registry/serverless.json, rule serverless.aws-lambda.nodejs18.x, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated