GHSA-945p-3jhm-6rcp
malcontent: Nested archive extraction failure can drop content from scan inputs
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/chainguard-dev/malcontent | < 1.21.0 | 1.21.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
Previously, malcontent would remove nested archives which failed to extract which could potentially leave malicious content. A better approach is to preserve these archives so that malcontent can attempt a best-effort scan of the archive bytes.
**Fix**: https://github.com/chainguard-dev/malcontent/pull/1383
**Acknowledgements**
malcontent thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-945p-3jhm-6rcp
- https://nvd.nist.gov/vuln/detail/CVE-2026-28407
- https://github.com/chainguard-dev/malcontent/pull/1383
- https://github.com/chainguard-dev/malcontent/commit/356c56659ccfcad0b249a97de8cf71f151ed3ee9
- https://github.com/chainguard-dev/malcontent