• Docs
  • Changelog
Sign in
Get started
    • Home
    • Your first deploy
    • Free instances
    • Platform features by plan
    • Use with coding agents
    • FAQ
    • Templates
      • Migrate from…
        • Heroku
        • Railway
    • Compute plans
    • SandboxesBeta
      • Service types
        • Which to use?
        • Static sites
        • Web services
        • Private services
        • Background workers
        • Cron jobs
        • Workflows
        • Multi-service architectures
      • Data storage
        • Render Postgres
        • Render Key Value (Redis®-compatible)
        • Persistent disks
    • How deploys work
    • Supported languages
    • Git providers (GitHub, etc.)
    • Build pipeline
    • Deploy hooks
    • Monorepo support
    • Troubleshooting deploys
      • Previewing changes
        • Single-service previews
        • Preview environments (multi-service)
      • Docker deploys
        • Overview
        • Deploy a registered image
        • Using secrets
      • Runtime
        • Native runtimes
        • Environment variables & secrets
        • Default environment variables
    • Intro to sandboxes
    • Limits & pricing
      • How to…
        • Create & configure sandboxes
        • Execute commands
        • Upload and download files
        • Manage snapshots
      • Use with…
        • Claude Managed Agents
        • Cursor Cloud Agents
        • OpenAI Agents API
      • SDK/CLI reference
        • TypeScript SDK
        • Python SDK
        • CLI commands
    • Intro to workflows
    • Tutorial
    • Limits & pricing
      • How to…
        • Define tasks
        • Define flowsNew
        • Trigger runs
        • Develop locally
      • SDK reference
        • TypeScript SDK
        • Python SDK
      • Example workflows
        • TypeScript examples
        • Python examples
    • Overview
    • Create & connect
    • Database credentials
    • Extensions
    • Version upgrades
    • Logical replication
    • Legacy instance types
      • Database recovery
        • Recovery & backups
        • High availability
      • Database performance
        • Read replicas
        • Connection pooling
        • Admin apps
        • Repacking tables
        • Troubleshooting performance
    • Regions
    • Inbound IP rules
    • Edge caching
    • WebSockets
    • TLS certificates
      • Custom domains
        • Overview
        • Cloudflare
        • Namecheap
        • Other DNS providers
      • Internal traffic
        • Private network
        • Private links
      • Outbound traffic
        • Default IP ranges
        • Dedicated IP addresses
        • Outbound bandwidth
        • Handling network changes
      • Static site config
        • Custom response headers
        • Redirects & rewrites
    • The Render Dashboard
    • SSH / Shell access
    • Projects & environments
      • Service actions
        • Scaling
        • Rollbacks
        • Maintenance mode
        • One-off jobs
      • Infrastructure as code
        • Blueprints overview
        • render.yaml reference
        • Terraform provider
    • In-dashboard metrics
    • Health checks
    • Uptime best practices
      • Logging
        • In-dashboard logs
        • Log streams (syslog/HTTPS)
      • OpenTelemetry (OTel) metrics
        • Provider setup
        • Metrics reference
      • Notifications
        • Webhooks
        • Email / Slack
    • API keys
    • MCP Server
      • Render CLI
        • Overview
        • Command reference
      • REST API
        • Overview
        • API reference
      • Third-party connections
        • OIDC support
        • Datadog
    • Workspaces, members, & roles
    • Login settings
    • Audit logs
      • Organizations
        • Overview
        • SAML SSO
    • DDoS protection
    • Platform maintenance
      • Compliance
        • Overview
        • HIPAA (US health data)
        • HIPAA best practices
        • Shared responsibility model
        • Pentest policy
    • Heroku vs Render
    • Vercel vs Render

Advisory: Ruby2Shell and Associated Vulnerabilities

Update and redeploy your Ruby services to protect against remote code execution.

Summary

On November 18, 2026, Ruby released patches for seven vulnerabilities in its regular expression engine and string case conversion. Some of these vulnerabilities can allow remote code execution. The vulnerabilities affect Ruby 3.3.13 and earlier, Ruby 3.4.0 through 3.4.12, and Ruby 4.0.0 through 4.0.9. See the Ruby security advisory for details.

One of the seven vulnerabilities is a critical flaw in string case conversion known as Ruby2Shell (GHSA-34m4-m9fh-gqp5).

Update and redeploy your Ruby services as soon as possible. Explicitly select a patched Ruby version before redeploying.

If you use Ruby to build static sites on Render, also update their Ruby version and redeploy those sites.

Steps to secure your services

1. Update each service's Ruby version

Update to the patched version for your Ruby branch, or a later release in that branch:

Ruby branchPatched version

Ruby 4.0

4.0.10

Ruby 3.4

3.4.13

Ruby 3.3

3.3.14

Follow the instructions for your runtime. For static sites that build with Ruby, use the Native runtime tab.

Set the Ruby version for your service or static site using any of the methods described in Setting Your Ruby Version.

If you already set your Ruby version using any supported method, make sure to use that same method or one with higher precedence when applying this update.

  • If you build from a Dockerfile, update it to use a patched Ruby version. If your base image includes Ruby, update the FROM instruction to use an image containing a patched release.
  • If you pull a prebuilt image, publish or obtain a patched image and update your service's configured tag or digest as needed.

Ruby 3.2 and earlier have reached end of life.

If you use one of these versions, upgrade to a supported Ruby branch.

2. Redeploy your Ruby services

Deploy your updated code or image to every affected Render service and static site:

  • For Git-backed services and static sites, commit and push your changes. From the service's page in the Render Dashboard, select Manual Deploy > Deploy latest commit.
  • For a service that pulls a prebuilt image, select Manual Deploy > Deploy latest reference.

Wait for each deploy to complete successfully.

3. Confirm the deployed Ruby version

For a native Ruby service or a static site that builds with Ruby, check the build logs to confirm that Render used a patched Ruby version.

For any deployed service with shell access, including Docker-based services, run the following to confirm that the service is running a patched Ruby version:

History of updates to this advisory

DateChange

2026-11-19

Posted initial advisory.

Advisory: Ruby2Shell and Associated Vulnerabilities
  • Summary
  • Steps to secure your services
    • 1. Update each service's Ruby version
    • 2. Redeploy your Ruby services
    • 3. Confirm the deployed Ruby version
  • History of updates to this advisory
All Systems Operational
© Render Inc. All rights reserved.