Loading…
| CVE | Severity | CVSS | Affected product | Summary | EPSS | Published |
|---|---|---|---|---|---|---|
| CVE-2026-145143 | Low | 2.0 | melange Chainguard | In melange versions before 0.66.1, the bubblewrap runner can resolve links outside the guest root when extracting build environment layers. This can let build steps read or modify host files from inside the sandbox. In the runner scenario, the build must consume a crafted package signed by a key it trusts. The target file must be on the same filesystem as the temporary directory and linkable by the user running melange. Library callers that pass untrusted layers to LoadImage are also affected. The Docker and QEMU runners are unaffected. | — | 04 Dec 2026 |
| CVE-2026-144425 | High | 8.2 | melange Chainguard | In melange versions 0.46.0 through 0.66.0, melange initramfs can log credentials embedded in APK repository and keyring URLs at the default log level. Starting in 0.46.1, melange source get can also log credentials embedded in Git checkout URLs and expose credentials in clone error messages. Anyone who can read the resulting output, including public CI logs, may obtain the credentials. This issue is fixed in melange 0.66.1. | 0.6% | 03 Dec 2026 |
Affected products come from NVD analysis or, until NVD has analysed a CVE, from the publisher's own CVE record.
| CVE-2026-141356 | High | 8.2 | apko, melange Chainguard | apko versions before 1.5.6 and melange versions before 0.66.1 can expose HTTP Basic Authentication credentials embedded in APK repository URLs. Affected builds can write usernames and passwords in cleartext to logs and error messages, including at the default log level. apko can also expose these credentials in package and index cache directory names and exported trace spans. Anyone with access to this output may obtain the credentials. The earlier fix for CVE-2024-36127 redacted repository URLs during YAML serialization, leaving these other exposure paths open. | 0.8% | 03 Dec 2026 |
| CVE-2026-54174 | High | 8.3 | apko +1 chainguard-dev | melange allows users to build apk packages using declarative pipelines. Apko prior to version 1.2.9, corresponding to melange prior to version 0.50.4, verified the control section hash (`.PKGINFO` etc.) against the signed `APKINDEX`, but never verified the data section hash (the actual package files that get installed). An attacker who could compromise a mirror, poison a cache, or MITM a package fetch could substitute arbitrary file contents while the control hash check still passed. Apko version 1.2.9 and melange version 0.50.4 contain a fix. | 0.1% | 11 Sept 2026 |
| CVE-2026-29051 | Low | 3.3 | Melange Chainguard | melange allows users to build apk packages using declarative pipelines. Starting in version 0.32.0 and prior to version 0.43.4, `melange lint --persist-lint-results` (opt-in flag, also usable via `melange build --persist-lint-results`) constructs output file paths by joining `--out-dir` with the `arch` and `pkgname` values read from the `.PKGINFO` control file of the APK being linted. In affected versions these values were not validated for path separators or `..` sequences, so an attacker who can supply an APK to a melange-based lint/build pipeline (e.g. CI that lints third-party APKs, or build-as-a-service) could cause melange to write `lint-<pkgname>-<pkgver>-r<epoch>.json` to an arbitrary `.json` path reachable by the melange process. The written file is a JSON lint report whose content is partially attacker-influenced. There is no direct code-execution path, but the write can clobber other JSON artifacts on the filesystem. The issue only affects deployments that explicitly pass `--persist-lint-results`; the flag is off by default. The issue is fixed in melange v0.43.4 by validating `arch` and `pkgname` for `..`, `/`, and `filepath.Separator` before path construction in `pkg/linter/results.go` (commit 84f3b45). As a workaround, do not pass `--persist-lint-results` when linting or building APKs whose `.PKGINFO` contents are not fully trusted. Running melange as a low-privileged user and confining writes to an isolated directory also limits impact. | 0.2% | 24 Apr 2026 |
| CVE-2026-29050 | Medium | 6.1 | Melange Chainguard | melange allows users to build apk packages using declarative pipelines. Starting in version 0.32.0 and prior to version 0.43.4, an attacker who can influence a melange configuration file — for example through pull-request-driven CI or build-as-a-service scenarios — could set `pipeline[].uses` to a value containing `../` sequences or an absolute path. The `(*Compiled).compilePipeline` function in `pkg/build/compile.go` passed `uses` directly to `filepath.Join(pipelineDir, uses + ".yaml")` without validating the value, so the resolved path could escape each `--pipeline-dir` and read an arbitrary YAML-parseable file visible to the melange process. Because the loaded file is subsequently interpreted as a melange pipeline and its `runs:` block is executed via `/bin/sh -c` in the build sandbox, this additionally allowed shell commands sourced from an out-of-tree file to run during the build, bypassing the review boundary that normally covers the in-tree pipeline definition. The issue is fixed in melange v0.43.4 via commit 5829ca4. The fix rejects `uses` values that are absolute paths or contain `..`, and verifies (via `filepath.Rel` after `filepath.Clean`) that the resolved target remains within the pipeline directory. As a workaround, only run `melange build` against configuration files from trusted sources. In CI systems that build user-supplied melange configs, gate builds behind manual review of `pipeline[].uses` values and reject any containing `..` or leading `/`. | 0.1% | 24 Apr 2026 |