Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious pull request
-
DeliveryEmbed U+2028 in quoted Compose value
-
ExploitVictim runs compose-lint fix --apply
-
ExecutionOffset desync shifts later edits
-
ImpactSilently deletes unselected network-isolation line
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
|
| Exploitation Conditions | Exploitation requires that a victim run |
| Impact | This is a genuine but conditional, lower-tier integrity issue rather than a broadly exploitable emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N - base 5.1, medium) is internally consistent with the mechanism: no privileges are needed, but UI:A (active user interaction) is doing the real gating - a victim must actually run |
| Exploit ScenarioDerived | An attacker opens a pull request that places a Unicode line separator (U+2028, U+2085/U+0085, U+2029, or a lone carriage return) inside a quoted value in a Docker Compose file - a character most editors and diff views do not render. When a maintainer or CI pipeline runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Line-number desynchronization in compose-lint 0.9.0 through 0.17.0 lets fix --apply delete a line the user never selected, including an adjacent security setting such as an internal-only network declaration, while the tool still reports a successful fix and exits 0. A Compose file from an untrusted pull request that places an ambiguous line-break codepoint inside a quoted scalar shifts every later edit by one line, so the applied fix removes the intended target plus the following line; exploitation requires the operator to run fix --apply against attacker-influenced input without inspecting the dry-run diff, and the plain check command and the GitHub Action (which never runs fix) are unaffected. No public exploit code was identified at time of analysis and the vendor has released 0.18.0; this is a developer/CI-tooling integrity issue requiring user interaction, not a compromise of a running service.
RemediationAI
Upgrade to compose-lint 0.18.0 or later (release notes at https://github.com/tmatens/compose-lint/releases/tag/v0.18.0), which is the vendor-released fix; 0.18.0 makes line splitting and position conversion share one definition of a line break and refuses any Compose file containing a lone carriage return, U+0085, U+2028 or U+2029 with exit code 2, since no line numbering is correct for both the parser and the editor. CRLF and LF files are unaffected by that new rejection. For deployments pinned below 0.18.0, the vendor states two workarounds: review the dry-run diff (running fix without --apply) before applying, since the dry-run diff is the only place the extra deletion is visible, and do not run fix --apply over Compose files originating from untrusted pull requests. Patching is also required for the companion behavior where an out-of-range line number raised IndexError and produced an empty SARIF document for the entire batch, which GitHub Code Scanning rejects; 0.18.0 converts this into a per-file failure with exit code 2 while the remaining files still lint and report.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-193 (off-by-one), caused by three inconsistent definitions of a line break inside a Python tool that edits YAML in place. Line numbers originate with PyYAML: the parser's lines map is built from start_mark.line, and PyYAML's Reader treats a lone carriage return, U+0085 (NEL), U+2028 (LINE SEPARATOR) and U+2029 (PARAGRAPH SEPARATOR) as advancing a line, in addition to \n and CRLF. The fix engine's offset table (fix._line_starts), however, counted only \n when converting those 1-indexed line numbers into byte offsets for splicing. A single such codepoint inside a quoted scalar, which most editors and diff views do not render, shifts every subsequent splice down by one line, so a fixer such as CL-0014 (logging: driver: none) removes both the intended line and the following networks: [internal]. The result parses as valid Compose, every post-edit check passes, and no rule requires the deleted key, so nothing detects the discrepancy outside the dry-run diff. The same desynchronization could push a line number past the offset table and raise a bare IndexError, aborting the run and causing check --format sarif to emit a 0-byte document that discards findings for every other file in the batch. The 0.18.0 fix centralizes line splitting and offset derivation in compose_lint._lines so both are computed from a single scan using PyYAML's break set, and refuses documents containing ambiguous breaks with exit code 2 rather than guessing a numbering.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
No privileges needed (PR:N) but a victim must run fix --apply on an attacker-supplied file (UI:R); impact is limited integrity only (I:L), with no confidentiality or availability effect and no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-120127
GHSA-65v8-q222-64xx
NVD
CVE.org
EPSS
VulDB
Exploit-DB