Skip to main content
VulnerabilityPublished

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

0
Compare
Authoritative record:CVE-2026-123370· Medium 5.1

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

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.05.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIcompose-lintAffected
  • >=0.9.0 <0.18.0
Fixed in
  • 0.18.0

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

Community reviews

Loading reviews…