CRLF Injection Affecting github.com/lxc/incus/v6/internal/instance package, versions <6.21.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.49% (41st 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-GOLANG-GITHUBCOMLXCINCUSV6INTERNALINSTANCE-15091894
  • published26 Jan 2026
  • disclosed22 Jan 2026
  • creditrmcnamara-snyk

Introduced: 22 Jan 2026

CVE-2026-23953  (opens in a new tab)
CWE-93  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade github.com/lxc/incus/v6/internal/instance to version 6.21.0 or higher.

Overview

Affected versions of this package are vulnerable to CRLF Injection via improper validation of environment variable values in the container configuration process. An attacker can execute arbitrary commands as root on the host by injecting newlines into environment variables, which results in the addition of unintended configuration items such as lifecycle hooks.

Note: LTS release version 6.0.6 also contains the patch.

CVSS Base Scores

version 4.0
version 3.1