Public vulnerability disclosure

CVE-2026-123370

compose-lint: `fix --apply` can delete a line the user did not select, including a security setting

publishedCWE-193

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.9.0 until 0.18.0, compose-lint's YAML parser recognizes lone carriage returns and Unicode line separators U+0085, U+2028, and U+2029 as line breaks while fix position conversion counts only newline characters. A pull request can place one of these separators in a quoted value so fix --apply shifts each later edit and deletes the line after the selected target, including an unselected network or other security setting. The resulting Compose file can remain valid, post-edit checks can pass, and the command can report a successful fix even though the dry-run diff was the only place showing the extra deletion. This issue is fixed in version 0.18.0.

Technical severity5.1 mediumCVSS 4.0 · CNA: GitHub_M
Published2026-11-09Source updated 2026-11-14
Collected2026-11-145 attributed sources

Fixes and workarounds

Fix

compose-lint (pip): GitHub reports patched versions 0.18.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-65v8-q222-64xx

Fix

compose-lint (PyPI): OSV reports a fixed version 0.18.0. Check the advisory for supported release branches.

Source: OSV GHSA-65v8-q222-64xx

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
compose-lint
tmatens
>= 0.9.0, < 0.18.0 (affected) CNA: GitHub_M
compose-lint

compose-lint
pip
>= 0.9.0, <= 0.17.0 (affected, GitHub advisory range) GitHub GHSA-65v8-q222-64xx
compose-lint

compose-lint
PyPI
0.10.0 (affected, PyPI)
0.11.0 (affected, PyPI)
0.12.0 (affected, PyPI)
0.12.1 (affected, PyPI)
0.12.2 (affected, PyPI)
0.13.0 (affected, PyPI)
0.14.0 (affected, PyPI)
0.14.1 (affected, PyPI)
0.15.0 (affected, PyPI)
0.15.1 (affected, PyPI)
0.15.2 (affected, PyPI)
0.16.0 (affected, PyPI)
0.17.0 (affected, PyPI)
0.9.0 (affected, PyPI)
Ecosystem version events: introduced 0.9.0; fixed 0.18.0
Source events (ECOSYSTEM)
[
  {
    "introduced": "0.9.0"
  },
  {
    "fixed": "0.18.0"
  }
]

Other versions: unaffected
OSV GHSA-65v8-q222-64xx

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 5.1
medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NCNA: GitHub_M
4.0 / 5.1
medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide