Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lucasdillmann/nginx-ignition
  4. ›
  5. CVE-2026-61629

CVE-2026-61629: nginx ignition has ParseAcceptLanguage `_` separator bypass that enables ~75x CPU amplification via Accept-Language header in i18nMiddleware

September 21, 2026

The gin i18n middleware in nginx-ignition’s API server runs in front of every HTTP request and calls golang.org/x/text/language.ParseAcceptLanguage on the raw Accept-Language header without imposing any size or shape filter. The underlying parser has quadratic-time behaviour on long lists of malformed language tags. The CVE-2022-32149 guard that golang.org/x/text added in v0.3.8 caps the number of - characters in the input at 1000, but it does not cap _ characters even though the parser’s internal scanner aliases _ to - before parsing. A single unauthenticated GET request with an Accept-Language header built out of _ separators burns about 2.4 seconds of server CPU on the host running nginx-ignition; ten concurrent attackers saturate a ten-core box for the duration of the attack while consuming ~10 MiB/s of upstream bandwidth.

References

  • github.com/advisories/GHSA-jr34-h97m-9hpx
  • github.com/lucasdillmann/nginx-ignition/commit/0c988fc1277c7d291725e8373313f8486fa1b31a
  • github.com/lucasdillmann/nginx-ignition/commit/cbaf0fc16ed873f7178a2ca9b0d00a696e44b485
  • github.com/lucasdillmann/nginx-ignition/pull/125
  • github.com/lucasdillmann/nginx-ignition/releases/tag/2.40.1
  • github.com/lucasdillmann/nginx-ignition/security/advisories/GHSA-jr34-h97m-9hpx
  • nvd.nist.gov/vuln/detail/CVE-2026-61629

Code Behaviors & Features

Detect and mitigate CVE-2026-61629 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.0-20260126024607-cbaf0fc16ed8 before 0.0.0-20260526022344-0c988fc1277c

Fixed versions

  • 0.0.0-20260526022344-0c988fc1277c

Solution

Upgrade to version 0.0.0-20260526022344-0c988fc1277c or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/lucasdillmann/nginx-ignition/CVE-2026-61629.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:35 +0000.