Home / tmatens / compose-lint / CVE-2026-123368
CVE-2026-123368: is it exploited, and which versions of tmatens compose-lint are affected and fixed?
CVE-2026-123368 is a path traversal (reading or writing files outside the intended folder) vulnerability in tmatens compose-lint. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: compose-lint from 0.22.0 before 0.31.0 and tmatens/compose-lint from 0.22.0 before 0.31.0 (GitHub advisory GHSA-6wcv-rj3c-mhv3). Fixed in 0.31.0 (GitHub advisory GHSA-6wcv-rj3c-mhv3). Severity: Low (2.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-123368?
compose-lint: .env read through a symlink outside the project can expose the CI job's environment
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.22.0 until 0.31.0, compose-lint follows a sibling .env symbolic link outside the project without applying its normal containment check. From 0.28.0, the same gap also affects an include project_directory link outside the project. A pull request can reference a variable from the linked file, causing substitution to place runner file or process-environment data into finding messages written to logs, JSON, SARIF artifacts, and Code Scanning alerts. Reading /proc/self/environ can expose the remainder of the linter process environment because NUL-separated entries are treated as one value, although disclosure requires a workflow that processes untrusted changes with useful environment data and GitHub normally withholds secrets from fork pull requests. The pass or fail result is not changed. This issue is fixed in version 0.31.0.
From the CVE record by GitHub_M, last updated November 13, 2026, 12:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| tmatens | compose-lint | >= 0.22.0, < 0.31.0 |
As the CVE record by GitHub_M states it, last updated November 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | compose-lint | >= 0.22.0, < 0.31.0 | 0.31.0 | GHSA-6wcv-rj3c-mhv3 |
| GitHub Actions | tmatens/compose-lint | >= 0.22.0, < 0.31.0 | 0.31.0 | GHSA-6wcv-rj3c-mhv3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 10, 2026. Summary: compose-lint: .env read through a symlink outside the project can expose the CI job's environment.
How severe is CVE-2026-123368?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-123368 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 13, 2026)
- EPSS
- 0.58% probability of exploitation activity in the next 30 days, percentile 49.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-59 Improper Link Resolution Before File Access
Where are the vendor advisories and references?
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3 x_refsource_CONFIRM
- https://github.com/tmatens/compose-lint/pull/917 x_refsource_MISC
- https://github.com/tmatens/compose-lint/commit/c43204ad4dab11d54e20574a52bc4e5835246ca5 x_refsource_MISC
- https://github.com/tmatens/compose-lint/releases/tag/v0.31.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 5, 2026
- Published
- November 9, 2026, 17:25 UTC
- CVE record updated
- November 13, 2026, 12:26 UTC by GitHub_M
- NVD
- Deferred, last modified November 13, 2026, 13:17 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect compose-lint?
- Nov 10, 2026CVE-2026-125125 tmatens compose-lint: log injection
- Nov 10, 2026CVE-2026-125124 tmatens compose-lint: log injection
- Nov 10, 2026CVE-2026-125123 tmatens compose-lint: log injection
- Nov 10, 2026CVE-2026-125122 tmatens compose-lint: log injection
- Nov 10, 2026CVE-2026-125121 tmatens compose-lint: log injection
- Nov 9, 2026CVE-2026-123796 tmatens compose-lint: information disclosure
- Nov 9, 2026CVE-2026-123373 tmatens compose-lint: link following (a symlink lets an attacker reach other files)
- Nov 9, 2026CVE-2026-123372 tmatens compose-lint: information disclosure
Questions about CVE-2026-123368
Is CVE-2026-123368 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.58% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of tmatens compose-lint are affected by CVE-2026-123368?
compose-lint from 0.22.0 before 0.31.0 and tmatens/compose-lint from 0.22.0 before 0.31.0, per the GitHub advisory GHSA-6wcv-rj3c-mhv3. The tables above give every range the sources list.
Which version fixes CVE-2026-123368?
0.31.0, per the GitHub advisory GHSA-6wcv-rj3c-mhv3. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-123368?
Low (2.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-123368?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.