CVE-2026-123370: compose-lint · `fix --apply` can delete a line the user did not select, including a security setting
Affects compose-lintSource GCVE Database
Not known to be exploited · CVSS 5.1 Medium : upgrade to 0.18.0 when convenient.
Data as of 10 Nov 2026, 17:47 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 5.1 |
|---|
- Patch
- Available – fixed in 0.18.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade compose-lint to 0.18.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIcompose-lint | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade compose-lint to version 0.18.0 or later, where the issue is fixed. If using older versions, carefully review the dry-run diff output before applying fixes with `fix --apply`, and avoid running `fix --apply` on files from untrusted sources. The GitHub Action does not run `fix` and is not affected.
Description
A flaw in compose-lint versions 0.9.0 through 0.17.0 causes the `fix --apply` command to incorrectly delete lines following the intended fix line when certain Unicode line break characters are present inside quoted values. This can unintentionally remove security-related settings such as network restrictions. The issue arises from inconsistent line break handling between the YAML parser and the fix application logic. The problem is fixed in version 0.18.0, which unifies line break definitions and rejects files with ambiguous line breaks.
References
- github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-123370 (opens in a new tab)
- github.com/tmatens/compose-lint/pull/547 (opens in a new tab)
- github.com/tmatens/compose-lint/pull/549 (opens in a new tab)
- github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de (opens in a new tab)
- github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d (opens in a new tab)
- github.com/tmatens/compose-lint (opens in a new tab)
- github.com/tmatens/compose-lint/releases/tag/v0.18.0 (opens in a new tab)