CVE-2026-123796 — tmatens compose-lint
One of 7 tmatens compose-lint vulnerabilities published together by NVD: our article covers all of them.
DockerWebCloud & containersVulnerabilitiesApplication securityResearch article
compose-lint before 0.33.0: resolved .env secret values can leak into lint output (CVE-2026-123796)
| CVE | CVE-2026-123796 |
|---|---|
| Vendor and product | tmatens compose-lint |
| Published | November 12, 2026 07:20 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Updated | November 17, 2026 16:35 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-11-09); CISA KEV catalog; GitHub advisory (2026-11-10); FIRST EPSS (2026-11-10) |
Update — November 17, 2026
- NVD deferred its analysis of this CVE: it isn't prioritizing the record for its own assessment. (NVD record)
Executive summary
CVE-2026-123796 is a sensitive-information exposure flaw in tmatens compose-lint, a Docker Compose linter, in versions from 0.32.0 up to but not including 0.33.0 [1]. The check that should replace resolved .env secret values with their variable references runs after a 20,000-finding limit, so the early-stop path can emit findings that still contain the secret values in text, JSON, SARIF and Code Scanning output [1]. NVD's record is in 'Received' status, and it scores the flaw CVSS 4.0 2.3 LOW with vector 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, scored by GitHub as a secondary scorer [1]; GitHub's advisory gives the same base score [3]. Exploitation requires a pipeline that places secrets in the neighbouring .env file and lints changes from untrusted authors, and the leak path is tied to a run that exits with code 2 unless --allow-partial-coverage is used [1]. CISA's KEV catalog did not list the CVE as of 2026-11-12, which is not evidence that it has gone unexploited [2], and the FIRST EPSS estimate is 0.0030 (percentile 0.2338) [4]. The most important immediate action is to stop exposing secret values to lint runs on untrusted changes, then upgrade to 0.33.0 and rotate any secret that may have appeared in outputs [1][3].
Key points
- compose-lint from 0.32.0 up to but not including 0.33.0 can emit resolved .env secret values in text, JSON, SARIF and Code Scanning output via an early-stop path [1].
- CVSS 4.0 base score 2.3 LOW (vector 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) in NVD and GitHub entries [1][3].
- Exploitation requires a pipeline that writes secrets into the sibling .env file and lints untrusted changes; the record ties the path to exit code 2 unless --allow-partial-coverage is used [1].
- CISA KEV did not list the CVE as of 2026-11-12, and the EPSS estimate is 0.0030; neither shows whether exploitation has occurred [2][4].
- The GitHub advisory lists only 0.32.0 as affected, a discrepancy with the CVE record's range [1][3].
- Immediate action: keep secrets out of untrusted-lint jobs and restrict output access; permanent fix: upgrade to 0.33.0 or later [1][3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-123796 | [1] |
| Vendor | tmatens | [1] |
| Product | compose-lint | [1][3] |
| Component | The secret-disclosure check for .env values and the output stage that renders text, JSON, SARIF and Code Scanning results | [1] |
| Affected platform | Docker Compose configuration linting, in local or automated pipelines (deployment type not established) | [1] |
| Published | 2026-11-09T18:17:26 | [1] |
| Last modified | 2026-11-09T18:17:26 | [1] |
| Record status | Received; NIST analysis is not recorded in the reviewed pack | [1] |
| CWE | CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor); CWE-532 (Insertion of Sensitive Information into Log File) | [1][3] |
| CVSS 4.0 (NVD, secondary) | 2.3 LOW; 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, with threat, environmental and supplemental metrics set to X; scorer security-advisories@github.com | [1] |
| CVSS 4.0 (GitHub advisory) | 2.3; 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; scorer GitHub | [3] |
| GitHub advisory | GHSA-rm8w-w798-g545 | [1][3] |
| Related references | Commit 31ec460399e06e98aa0d1cc578368a1960a8a0b3; pull request 978; release tag v0.33.0 | [1] |
| KEV status | Not listed as of 2026-11-12 | [2] |
| EPSS | 0.0030 (0.30%), percentile 0.2338, dated 2026-11-10 | [4] |
The two CVSS entries use the same base metrics and the same score. The NVD entry also carries the optional threat and environmental metrics, all set to X (not defined), so it adds no scoring information beyond the base vector [1]. CWE-200 describes the general weakness of exposing sensitive data to parties who should not see it. CWE-532 describes writing sensitive data into log-type output. Here the emitted output is report text, JSON, SARIF and Code Scanning results rather than a conventional log file, so CWE-532 is an analogous fit, and this is an analyst assessment [1].
Technical background
Docker Compose describes multi-container applications in a YAML file. Compose can read variable values from a .env file placed next to that file and substitute them into the configuration when it is parsed. This sibling-file arrangement is the setting the record describes [1]. The substitution behaviour in this paragraph is an analyst assessment of standard Compose usage; the reviewed sources do not describe Compose internals in detail.
compose-lint is a static checker. It reads a Compose configuration, evaluates settings for dangerous misconfigurations, assigns each result a grade, and writes findings in several formats [1]. Its secret-disclosure check is meant to keep the values of secrets out of its output. It does this by replacing resolved values with the variable references they came from, so a finding can say that a value comes from a named variable without printing the value itself [1].
Three terms are needed for the rest of this article. SARIF (Static Analysis Results Interchange Format) is a JSON-based format for analysis results. Code Scanning is GitHub's feature for ingesting and displaying such results [1]. A partial-coverage run is a run that continues or stops early when a limit is reached; the record ties the affected path to the --allow-partial-coverage option and to exit code 2 [1].
Trust boundaries matter here. The compose file, and any change to it submitted by a contributor, is untrusted input. The .env file, and the secret values written into it by a pipeline, are trusted, sensitive data. The linter sits between them and its outputs, which may be stored, uploaded or shown to a wider audience than the secrets were meant for [1].
Vulnerability description
The violated security property is confidentiality. Secret values that the tool is supposed to hide from its own output can appear in that output [1].
The flawed component is the secret-disclosure redaction step. The record states that a limit check of 20,000 findings runs before the step that substitutes variable references for resolved values. When the limit is reached, the tool takes an early-stop path that emits the findings it has already graded, and those findings still contain the resolved values [1].
An attacker, in the record's scenario, can cause secret values to be written to the places the linter's output goes, such as a console or CI log, a JSON or text report, a SARIF file, or a Code Scanning result. Whoever can read that output can then read the secret values [1]. The record does not state the attacker's exact role; the CVSS vector indicates that no privileges are needed (PR:N) and that a user interaction is required (UI:P) [1][3].
The conditions that make the flaw matter are these: the affected version range must be in use; a pipeline must write secret values into the sibling .env file; the same pipeline must lint changes from untrusted authors; and the configuration must be able to produce more than 20,000 findings, which the record links to a secret-referencing image field combined with reused (aliased) content [1]. The record gives no detail on how a contributor would arrange these conditions, and this article does not describe how to do so.
What the vulnerability does not establish, based on the reviewed sources, is also important. The sources do not show that any real deployment has leaked a secret, that a leaked secret has been used, that the leaked values are valid credentials, or that the output reaches anyone beyond people who already have read access to the same CI logs or Code Scanning results [1][2][3]. The integrity and availability impact in the CVSS vector is none (VI:N, VA:N), so the flaw is described as a disclosure issue only [1].
Root cause analysis
Confirmed: the record attributes the defect to incomplete remediation of an earlier .env secret-disclosure problem. The ordering is the root cause as the record states it: the 20,000-finding limit is checked before resolved values are replaced with variable references, so the early-stop path bypasses the replacement entirely [1].
Confirmed: the record links the fix to commit 31ec460399e06e98aa0d1cc578368a1960a8a0b3 and to pull request 978, and it names release v0.33.0 as the version that fixes the issue [1]. The contents of the commit and pull request are not included in the reviewed pack, so the exact code change cannot be confirmed here.
Analyst assessment: the redaction was probably designed as a later pass over the complete result set. A limit that ends collection early would then emit results that never reached that pass. An earlier fix may have covered the normal path and missed the early-stop path, which would explain the word 'incomplete' in the record [1]. This is an inference from the record's wording, not a confirmed explanation.
Analyst assessment: existing controls failed to catch the defect because the early-stop path is a separate branch from the normal output path. Test coverage for that branch was not established by the reviewed sources.
Unknown: why the record describes a 20,000-finding limit as the trigger, and whether the limit is configurable. The reviewed sources do not say.
Technical mechanics
The following numbered flow describes the mechanism as the record states it.
- The linter reads the Compose configuration and the sibling .env file [1].
- Variable references are resolved, so the checks see the real values [1].
- Checks run and each produces a finding with a grade [1].
- The finding count is tracked against a limit of 20,000 [1].
- Flawed step: when the limit is reached, the early-stop path emits the graded findings before the replacement of resolved values with variable references has run [1].
- The emitted findings are rendered as text, JSON, SARIF or Code Scanning output, and the resolved values appear in them [1].
- Expected control (analyst assessment): replacement of values should run before any output is produced, whatever the count, and output should be built only from redacted data.
Illustrative plain-text view of the two paths:
Normal path: collect findings -> redact values -> grade -> emit
Early-stop path: collect findings -> limit reached -> grade -> emit (redaction skipped)
The diagram is illustrative. It shows only the ordering the record describes and does not reproduce the tool's code. The record states that the early-stop path emits findings that are already graded, which is why grading appears before emission in the early-stop line [1].
Preconditions and environmental dependencies are the sibling .env file holding secret values, a pipeline that lints untrusted changes, and an output destination that a reader can access [1]. The control that should have prevented the issue is redaction that runs on every output path before any output is written, with output built from redacted data only [Analyst assessment].
Attack surface and exploitation prerequisites
| Prerequisite | Evidence | Source |
|---|---|---|
| Network access | CVSS AV:N indicates the attack is reachable over a network, meaning a contribution path into a repository is sufficient [1][3] | CVSS vector (inferred from vector) |
| Adjacent-network, local or physical access | Not required per the vector (AV:N); not separately described in the record | [1] |
| Authentication | PR:N: no privileges required according to the vector; the record describes a pull request as the input | [1][3] |
| User interaction | UI:P: the vector indicates that a user must take an action, such as a workflow run or review. The specific action is not named in the record | [1][3] |
| Required configuration | A pipeline that writes secret values into the sibling .env file and lints untrusted changes | [1] |
| Required version | 0.32.0 up to but not including 0.33.0 | [1] |
| Exit behaviour | The run exits with code 2 unless --allow-partial-coverage is used | [1] |
| Output reach | The leaked values appear in text, JSON, SARIF and Code Scanning output | [1] |
The CVSS vector supplies the network, privilege and interaction values. The configuration requirements, the version range and the exit-code behaviour come from the record's description, not from the vector alone [1]. The vector also indicates an attack-requirements dependency (AT:P), which is consistent with the configuration requirements in the record [1][3].
Limitations: the record does not describe how an external contributor would reach a secret-bearing workflow, whether a maintainer or pipeline must approve the run before it executes, or how often such pipelines exist. These are unknown from the reviewed sources.
Exploitation scenarios and attack lifecycle
Illustrative scenario: a repository's continuous integration pipeline writes production credentials into the .env file beside its Compose file, then runs compose-lint on pull requests from outside contributors, and uploads the SARIF result to Code Scanning. A contributor's change triggers the early-stop path. The resulting SARIF or log output contains the credential. Anyone with read access to that output can then read the credential. This scenario is consistent with the record but is not documented as an observed incident in the reviewed sources [1].
What is confirmed: the record documents the output path and the prerequisites, and does not describe any observed exploitation [1]. What is not established: whether any organization has run this path against a real secret.
Defensive opportunities at each stage:
- Preparation: keep secret values out of any job that lints untrusted changes, so the early-stop path has nothing sensitive to emit (analyst assessment based on the stated prerequisite).
- Trigger: review pull-request-triggered workflows that compose secret values with lint steps.
- Output: restrict who can read CI logs and Code Scanning results produced by untrusted runs.
- Detection: review affected-version outputs for resolved secret values, as described in the detection section.
- Containment: rotate any secret that may have appeared in output.
Impact analysis
| Impact area | Assessment | Basis |
|---|---|---|
| Confidentiality | Secret values in lint output. Technically this is the defect the record describes. | VC:L in the CVSS vector [1][3] |
| Integrity | None indicated by the record | VI:N [1] |
| Availability | None indicated by the record | VA:N [1] |
| Authentication | Downstream: a disclosed credential could let someone authenticate to a service it protects. This depends on the secret and is plausible, not demonstrated (analyst assessment) | Not established by the reviewed sources |
| Authorization | Downstream: a disclosed credential could carry the permissions it was issued with. Not demonstrated | Not established by the reviewed sources |
| Privilege boundaries | The flaw can move a secret across a boundary from a trusted pipeline context to contributor-readable output | [1] (analyst assessment for the boundary framing) |
| Data and privacy | Depends entirely on what the secrets are; personal data in .env files would be exposed in the same way (analyst assessment) | Not established by the reviewed sources |
| Business operations | Credential rotation, pipeline review and possible service access reviews | Analyst assessment |
| Regulatory or contractual | Not established by the reviewed sources | None in pack |
The CVSS subsequent-system metrics (SC, SI, SA) are all none, so the vector does not score any impact beyond the vulnerable component [1][3].
Affected products and versions
| Vendor | Product or component | Affected versions | Platform | Fixed version | Source and confidence |
|---|---|---|---|---|---|
| tmatens | compose-lint | Greater than or equal to 0.32.0 and less than 0.33.0, as published in the CVE record | Docker Compose linting in local or CI use | 0.33.0 | [1]; the CVE record is the CNA source and is the highest-ranked source in the pack that gives a range |
| tmatens/compose-lint (GitHub package listing) | compose-lint | 0.32.0 only | Same | Not stated in the GitHub entry | [3]; discrepancy with the CVE record (see below) |
Discrepancy: the GitHub advisory lists only 0.32.0 as affected, while the CVE record gives a range from 0.32.0 up to but not including 0.33.0 [1][3]. Under the source hierarchy, the CVE record from the CNA is the authoritative range, and this article uses it. The GitHub entry should be treated as a narrower listing until the vendor clarifies it.
Unknown: whether releases earlier than 0.32.0 contain the same defect. The record begins the range at 0.32.0, but the reviewed sources do not state that earlier versions are unaffected [1]. Versions after 0.33.0 are not stated as affected and are presumed fixed by the record's wording, which is an analyst assessment.
Configuration-specific exposure: the defect only matters where the pipeline writes secrets into the sibling .env file and lints untrusted changes, and where the early-stop path is reached [1]. Known exclusions: none documented in the reviewed sources.
Exploitation and threat intelligence status
- Confirmed in-the-wild exploitation: Not established by the reviewed sources.
- CISA KEV: not listed as of 2026-11-12 [2]. The catalog listing is not evidence that the CVE has not been exploited.
- Public proof of concept: Not established by the reviewed sources; no exploit reference appears in the pack.
- Threat actors, campaigns and targeted sectors: Not established by the reviewed sources.
- EPSS: 0.0030 (0.30%) probability of exploitation activity in the next 30 days, percentile 0.2338, dated 2026-11-10. The sources describe this as a statistical estimate, not evidence of exploitation [4].
- Record status: Received, with no NIST analysis recorded in the pack [1].
The absence of public evidence is not proof that exploitation has not occurred. The reviewed sources do not show any reporting of exploitation, and they also do not rule it out.
Indicators of compromise
No indicators of compromise are given by the reviewed sources. The pack contains no file hashes, domains, IP addresses, URLs, process names, command lines or log event IDs tied to this CVE [1][2][3][4]. No indicators are invented here.
The places where a leaked value would appear are known from the record: text, JSON, SARIF and Code Scanning output [1]. These are locations to review, not indicators. Any indicator derived from them must be validated against the organization's own data before use, because indicators go stale quickly.
Detection and exposure assessment
- Inventory: list every repository and pipeline that runs compose-lint, including developer machines and reusable workflow definitions. The reviewed sources do not name a package ecosystem or install method, so the inventory must be built from the organization's own tooling [Unknown].
- Version check: read the pinned compose-lint version in each lockfile, workflow definition or container image. Flag any version greater than or equal to 0.32.0 and less than 0.33.0 [1]. The tool's own version command is not documented in the reviewed sources, so a manifest review is the only verified method here. A version match is not proof that a secret has been exposed.
- Configuration check: identify pipelines that both write secret values into a .env file beside a Compose file and run compose-lint on changes from untrusted authors, including pull requests from forks [1].
- Output review: for each affected pipeline run, search stored CI logs, uploaded SARIF files, and text or JSON reports for any secret value the pipeline is known to hold. Searching for known values is safer than searching for patterns. Do this under the organization's incident response process, without deleting or altering evidence.
- Access review: list who can read CI logs and Code Scanning results for those runs. Include external collaborators and fork-based contributors.
- Telemetry: review CI platform audit logs for pull-request-triggered runs of the affected workflows over the period the affected version was in use. The reviewed sources do not give log event names, so the audit event names must come from the CI platform's own documentation.
Limitations: none of these checks proves that a leak did or did not occur. Scanners that look only at package versions will not detect the workflow conditions, so authenticated review of pipeline definitions is required [Analyst assessment].
Immediate mitigation
- Stop writing secret values into the sibling .env file in any workflow that lints changes from untrusted authors. Protects against: the stated prerequisite. Limitation: it can break pipelines that depend on those values for linting. Side effect: lint results may become less complete. Verify: review the workflow file and confirm that no secret-bearing step precedes a lint step triggered by untrusted input (analyst assessment based on the record's prerequisites [1]).
- Split the pipeline: run lint on untrusted changes in a job that has no access to secrets, and run secret-dependent steps only in trusted contexts. Protects against: the flaw's data path. Limitation: the job split must be designed correctly; trusted triggers must not pass secrets into untrusted jobs. Verify: inspect the job's environment and secret access settings in the CI platform.
- Restrict who can read CI logs and Code Scanning results from untrusted runs. Protects against: exposure through output. Limitation: reviewers may lose visibility. Verify: confirm the repository's permission settings for logs and Code Scanning alerts.
- Do not treat --allow-partial-coverage as a fix. The record ties the leak path to this option and to exit code 2 [1]. Whether changing the option reduces exposure is not established by the reviewed sources, and changing it may alter pipeline behaviour. Verify before changing: test in a non-production pipeline first.
- Rotate any secret that may have appeared in output from an affected run. Protects against: reuse of leaked values. Limitation: rotation can disrupt services, so it must be coordinated. Verify: confirm the new value is in use and the old one is rejected by the service that issued it (analyst assessment; incident-response practice, not a source-given measure).
Permanent remediation
Vendor-confirmed fix: upgrade compose-lint to version 0.33.0 or later [1]. The record references release v0.33.0, the fixing commit 31ec460399e06e98aa0d1cc578368a1960a8a0b3, and advisory GHSA-rm8w-w798-g545 [1][3].
Steps:
- Update the pinned version in each lockfile, workflow file, or container image that uses compose-lint to 0.33.0 or later.
- Run the pipelines that use the tool in a non-production environment and compare outputs with the pre-upgrade results. The release notes are not in the reviewed pack, so any behaviour changes must be checked directly.
- Roll back by restoring the previous pinned version if a regression appears. Keep the previous version's lockfile in version control.
- Restart or reload: not documented in the reviewed sources. The tool is run as a check, so a restart is not expected to apply, but this is not established.
After updating, confirm the configuration: the secret-bearing and untrusted-lint separation from the mitigation section should remain in place. The upgrade fixes the defect, while the separation is recommended hardening (analyst assessment). The reviewed sources do not confirm any other configuration changes.
Workarounds and compensating controls
The reviewed sources do not describe a vendor-supported workaround. The compensating controls in the immediate mitigation section reduce exposure, but they do not correct the defect in the tool. Their residual risk is as follows: if any secret-bearing step still runs in the same job as untrusted lint input, the flaw remains reachable. Log and Code Scanning access restrictions limit who can read output but do not stop the output from being produced [Analyst assessment]. Compensating controls are therefore not equivalent to upgrading to 0.33.0 [1].
Validation and verification
- Confirm the installed version in every pipeline, container image and developer environment is 0.33.0 or later, using the lockfile or image manifest that the build actually uses [1].
- Confirm the workflow separation: review each affected pipeline definition to show that secrets are not present in the lint job's environment for untrusted triggers.
- Confirm access controls on CI logs and Code Scanning results for untrusted runs.
- Run the tool's own test suite or vendor check from the fixed release if the project provides one; the reviewed sources do not describe one, so this is not established.
- Review logs and service health after the change for pipeline failures or unexpected output.
- Confirm that rotation was completed for any secret that appeared in output, and that the old values are rejected.
- Record the evidence: the version, the workflow commit identifier, the date, the owner and any exceptions.
A single check does not establish that a system is secure. Validation should combine the version check, the configuration review and the access review.
Incident response
If exposure is suspected:
- Triage and scope: identify each pipeline that ran an affected version on untrusted changes while secrets were present in the .env file. Record the run identifiers and dates.
- Containment: disable or isolate the affected workflow, or apply the job split from the mitigation section.
- Evidence preservation: export and retain CI logs, uploaded SARIF files and reports. Do not delete or edit them.
- Log and endpoint investigation: review CI audit logs and access records for who viewed or downloaded the affected output.
- Credential rotation: rotate every secret value that appeared in output, and check the services that issued them for use of the old values. Rotation is warranted where output containing a secret was readable by people who should not have had it (analyst assessment).
- Eradication: upgrade to 0.33.0 or later and confirm the workflow separation.
- Recovery and monitoring: monitor for use of rotated credentials and for pipeline runs that repeat the earlier pattern.
- Notification and reporting: depends on the data involved and applicable law or contracts. Not established by the reviewed sources; consult the organization's legal and compliance owners.
- Lessons learned: record how the secret came to be in a lint-accessible location and update the pipeline standard.
Do not take destructive actions that could erase evidence. Follow the organization's incident response plan.
Security hardening and prevention
Specific to this flaw:
- Keep secret values out of any job that processes untrusted input. Use secret stores scoped to trusted triggers only (analyst assessment).
- Require that redaction runs on every output path, including early-exit and limit paths, and add tests that fail if a resolved value appears in any output format (analyst assessment; the record shows a regression on exactly this path).
- Add regression coverage for the early-stop branch and for each output format named in the record: text, JSON, SARIF and Code Scanning [1].
Defence-in-depth (broader, labeled as such): restrict CI permissions to least privilege, review pull-request-triggered workflows as part of change control, centralize version pinning for security tools, and monitor CI audit logs for changes to workflows that handle secrets.
Risk assessment
Technical severity: the CVSS 4.0 base score is 2.3 LOW in both NVD and GitHub entries [1][3]. The EPSS estimate is 0.0030 with a percentile of 0.2338 [4]. KEV does not list the CVE [2]. These measures describe the general technical and probability picture only.
Exposure: depends on whether affected pipelines exist and whether they handle secrets [1]. This is unknown for any particular organization.
Asset criticality: depends on which secrets are placed in .env files. If the secrets protect production systems, the consequence of a disclosure is high even though the CVSS base score is low (analyst assessment).
Exploit prerequisites and opportunity: the vector requires no privileges and needs a user interaction, and the record requires specific pipeline conditions [1][3].
Evidence of exploitation: none established by the reviewed sources [2].
Existing controls and residual risk: the upgrade to 0.33.0 removes the defect as the record describes it. Until then, residual risk stays in any pipeline where secrets and untrusted lint input meet.
Recommended priority (analyst assessment): treat this as an urgent pipeline and secrets-handling review rather than a standard patch-cycle item, because the CVSS score understates the consequences where production secrets are involved. The reasoning is that the review and separation can be done quickly, the upgrade is a version change, and rotation is the step that limits damage after any exposure. This is not an organization-specific numerical score and is not the CVSS score.
Conclusion
The core flaw is that compose-lint versions from 0.32.0 up to but not including 0.33.0 can emit already-graded findings containing resolved .env secret values when the early-stop path is reached [1]. Teams that run compose-lint on untrusted changes in pipelines that hold secrets should act first: separate secret-bearing steps from untrusted lint runs and restrict access to output [1]. The permanent fix is upgrading to 0.33.0 or later [1][3]. Closing the issue requires evidence that every affected installation is upgraded, that the workflow separation is in place, that any exposed secret has been rotated, and that the NIST analysis, the vendor's own confirmation and any exploitation reporting have been reviewed as they become available [1][2].
Remediation checklist
- Inventory every repository, workflow and container image that runs compose-lint, and record the pinned version from each lockfile or manifest; flag versions from 0.32.0 up to but not including 0.33.0 [1].
- Review each pipeline that writes secret values into a sibling .env file and also lints changes from untrusted authors, including fork-based pull requests [1].
- Remove secret values from the lint job for untrusted triggers, or split the workflow so secret-dependent steps run only in trusted contexts; verify in the CI platform's job environment settings [1][Analyst assessment].
- Restrict read access to CI logs and Code Scanning results produced by untrusted runs; verify in the repository permission settings [1][Analyst assessment].
- Do not rely on --allow-partial-coverage as a mitigation; test any change to it in a non-production pipeline first because the record ties the path to that option and exit code 2 [1].
- Upgrade compose-lint to version 0.33.0 or later in every lockfile, workflow and image, and confirm the version at build time [1][3].
- Compare outputs of upgraded pipelines with pre-upgrade results in a non-production environment, and keep the previous pinned version available for rollback [1].
- Search retained CI logs, SARIF files and reports from affected runs for the known secret values, without deleting or editing evidence; record the results, owner and date [1][Analyst assessment].
- Rotate any secret value found in affected output and confirm that the issuing service rejects the old value [Analyst assessment].
- Add regression tests that fail if any resolved secret value appears in text, JSON, SARIF or Code Scanning output on both normal and early-stop paths [1][Analyst assessment].
Evidence gaps
- Root-cause code detail: the diff in commit 31ec460399e06e98aa0d1cc578368a1960a8a0b3 and the content of pull request 978 are not in the pack; reviewing them would confirm the mechanism [1].
- NIST analysis: the NVD record is in Received status, so the CVSS, CWE and affected-range data may change after analysis; monitoring the NVD record would settle this [1].
- Discrepancy in affected range: the GitHub advisory lists only 0.32.0 while the CVE record gives 0.32.0 up to but not including 0.33.0; a vendor statement or the advisory's update would settle which is correct [1][3].
- Versions before 0.32.0: the pack does not state whether earlier releases are unaffected; the vendor's release history would settle this [1].
- Release notes for 0.33.0: the pack does not include the release contents or any behavioural changes; the release page would settle what changes for users [1].
- Exact effect of --allow-partial-coverage and exit code 2 on exposure: the record links them but does not explain the interaction; the vendor's documentation or a controlled test in a non-production environment would settle it [1].
- Exploitation evidence: no confirmed in-the-wild exploitation or public proof of concept is in the pack; vendor, CISA, threat-intelligence or incident reporting would settle this [2][4].
- Indicators of compromise: none are given; the vendor or a responsible-disclosure write-up would need to supply any that exist [1][2][3].
- Version command and package ecosystem: the pack does not give the tool's own version command or install method, so the inventory relies on the organization's tooling [1].
- Pipeline reachability: the record does not say how an external contributor would trigger a secret-bearing workflow or what approval gates apply; the CI platform configuration of affected users would settle this [1].
References
- CVE-2026-123796 record. NIST National Vulnerability Database (NVD), 2026-11-09. https://nvd.nist.gov/vuln/detail/CVE-2026-123796. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- GHSA-rm8w-w798-g545. GitHub Security Advisory Database, 2026-11-10. https://github.com/advisories/GHSA-rm8w-w798-g545. Accessed 2026-11-12.
- EPSS score for CVE-2026-123796. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-123796. Accessed 2026-11-12.
Summary
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.32.0 until 0.33.0, compose-lint's incomplete remediation for .env secret disclosure checks the 20,000-finding limit before replacing resolved values with their variable references. A pull request can combine a secret-referencing image field with aliased content that produces more than 20,000 findings, causing the early-stop path to emit already graded findings with the resolved secret value in text, JSON, SARIF, and Code Scanning output. Exploitation requires a workflow that writes secrets into the sibling .env and lints untrusted changes, and the run exits 2 unless --allow-partial-coverage is used. This issue is fixed in version 0.33.0.
Severity breakdown
Low · 2.3
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-532: Insertion of Sensitive Information into Log File
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| compose-lint (PyPI) | 0.32.0 | — |
| tmatens/compose-lint (GitHub Actions) | 0.32.0 | — |
| tmatens compose-lint | >= 0.32.0, < 0.33.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/tmatens/compose-lint/commit/31ec460399e06e98aa0d1cc578368a19…
- github.com/tmatens/compose-lint/pull/978
- github.com/tmatens/compose-lint/releases/tag/v0.33.0
Other references
Affected
- tmatens compose-lint
Frequently asked questions
What is CVE-2026-123796?
CVE-2026-123796 is a sensitive-information exposure flaw in tmatens compose-lint, a Docker Compose linter, in versions from 0.32.0 up to but not including 0.33.0. The check that should replace resolved .env secret values with their variable references runs after a 20,000-finding limit, so the early-stop path can emit findings that still contain the secret values in text, JSON, SARIF and Code Scanning output. Weakness type: Exposure of Sensitive Information to an Unauthorized Actor (CWE-200).
How severe is CVE-2026-123796?
CVE-2026-123796 has a CVSS 4.0 base score of 2.3 (low), from the CNA (github.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-123796 being exploited?
Not as far as is known: CVE-2026-123796 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123796?
compose-lint (PyPI) 0.32.0; tmatens/compose-lint (GitHub Actions) 0.32.0; tmatens compose-lint >= 0.32.0, < 0.33.0.
How do I fix CVE-2026-123796?
Inventory every repository, workflow and container image that runs compose-lint, and record the pinned version from each lockfile or manifest; flag versions from 0.32.0 up to but not including 0.33.0. Review each pipeline that writes secret values into a sibling .env file and also lints changes from untrusted authors, including fork-based pull requests. Remove secret values from the lint job for untrusted triggers, or split the workflow so secret-dependent steps run only in trusted contexts; verify in the CI platform's job environment settings[Analyst assessment].
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-137472 — siyuan-note siyuan
- CVE-2026-135150 — Eclipse Foundation Eclipse Ditto
- MediaWiki ExternalData Extension Sensitive Information Exposure in 1.43, 1.45, 1.46, 1.47
- GHSA-c4hm-4h84-2cf3 / CVE-2026-59726 — ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments
- AutoGPT SSRF Vulnerability in IPv6 Blocklist Allows Local Network Access