Improper Encoding or Escaping of Output Affecting gitlab-rails-ce-fips-19.1 package, versions <19.1.1-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-GITLABRAILSCEFIPS191-17707326
  • published30 Jun 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-42040  (opens in a new tab)
CWE-116  (opens in a new tab)
CWE-626  (opens in a new tab)

How to fix?

Upgrade Chainguard gitlab-rails-ce-fips-19.1 to version 19.1.1-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitlab-rails-ce-fips-19.1 package and not the gitlab-rails-ce-fips-19.1 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the encode() function in lib/helpers/AxiosURLSearchParams.js contains a character mapping (charMap) at line 21 that reverses the safe percent-encoding of null bytes. After encodeURIComponent('\x00') correctly produces the safe sequence %00, the charMap entry '%00': '\x00' converts it back to a raw null byte. Primary impact is limited because the standard axios request flow is not affected. This vulnerability is fixed in 1.15.1 and 0.31.1.

CVSS Base Scores

version 3.1