CVE-2026-141356: apko and melange expose repository credentials in build output

Published Dec 3, 2026
·
Updated

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.

Affected Software

2 affected components
chainguard apko<1.5.6
chainguard melange<0.66.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.5.6
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.66.1

Event History

Dec 3, 2026
CVE Published
via MITRE·08:06 PM
Data Sourced
via MITRE·08:06 PM
DescriptionWeakness
Data Sourced
via NVD·09:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can obtain the exposed credentials?

Anyone with access to affected build logs, error messages, or, for apko, package and index cache directory names or exported trace spans may obtain the cleartext HTTP Basic Authentication credentials.

2

Is a non-default logging configuration required for exposure?

No. Affected builds can write repository usernames and passwords to logs and error messages at the default log level.

3

What repository configurations are at risk?

The exposure applies when APK repository URLs embed HTTP Basic Authentication credentials. Builds without usernames and passwords embedded in repository URLs are not described as affected by this issue.

4

Which versions need remediation?

apko versions before 1.5.6 and melange versions before 0.66.1 are affected. The data identifies exposure paths beyond the earlier YAML-serialization redaction fix for CVE-2024-36127.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203