RocketChat / RocketChat/Rocket.Chat

500 Internal Server Error with nginx on Ubuntu 22.04

Open
#40,854 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Hi,

rocketchat 7.10.12 with latest nginx (1.18.0-6ubuntu14.13) on Ubuntu 22.04 as reverse proxy produces "500 Internal Server Error" recently. It all seems to be caused by a security update of nginx which fixes CVE-2026-49975. It might be something header related (they limited header size to 1000 for example) and maybe rocketchat produces now incomaptible headers?

https://ubuntu.com/security/CVE-2026-49975

https://changelogs.ubuntu.com/changelogs/pool/main/n/nginx/nginx_1.18.0-6ubuntu14.13/changelog

https://blog.calif.io/p/codex-discovered-a-hidden-http2-bomb

Regards
abelbabel

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the 500 Internal Server Error with Rocket.Chat 7.10.12, nginx 1.18.0-6ubuntu14.13, and Ubuntu 22.04, then compare the nginx security update, CVE-2026-49975, and the linked changelog. Done means the reverse-proxy setup works without the 500 while retaining the security update.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, typescript, ubuntu
Domain
backend, infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.