SNYK-GOLANG-GITHUBCOMLXCINCUSV6INTERNALINSTANCE-15091894
Record from snyk · Published January 26, 2026
github.com/lxc/incus/v6/internal/instance is fixed in 6.21.0 (Go Modules)
## 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. ## Remediation Upgrade `github.com/lxc/incus/v6/internal/instance` to version 6.21.0 or higher. ## References - [GitHub Commit](https://github.com/lxc/incus/commit/cdf037409fbb35ab0f9fdc4e0e8cc706adbca99e) - [Vulnerable Code](https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L1081)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/lxc/incus/v6/internal/instance | Go Modules | 6.21.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 |
Timeline
- Jan 22, 2026 CVE Updated
- Jan 26, 2026 CVE Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln SNYK-GOLANG-GITHUBCOMLXCINCUSV6INTERNALINSTANCE-15091894
vulnetix vdb fixes SNYK-GOLANG-GITHUBCOMLXCINCUSV6INTERNALINSTANCE-15091894
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/SNYK-GOLANG-GITHUBCOMLXCINCUSV6INTERNALINSTANCE-15091894/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://learn.snyk.io/lesson/malicious-code-injection/ technical
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMLXCINCUSV6INTERNALINSTANCE-15091894 advisory
- https://github.com/lxc/incus/commit/cdf037409fbb35ab0f9fdc4e0e8cc706adbca99e patch
- https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L1081 technical