Function Call With Incorrect Order of Arguments Affecting github.com/chainguard-dev/malcontent/pkg/archive package, versions >=1.8.0 <1.20.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCHAINGUARDDEVMALCONTENTPKGARCHIVE-15156497
  • published30 Jan 2026
  • disclosed29 Jan 2026
  • creditOleh Konko

Introduced: 29 Jan 2026

CVE-2026-24846  (opens in a new tab)
CWE-683  (opens in a new tab)

How to fix?

Upgrade github.com/chainguard-dev/malcontent/pkg/archive to version 1.20.3 or higher.

Overview

Affected versions of this package are vulnerable to Function Call With Incorrect Order of Arguments via the handleSymlink function. An attacker can create symlinks outside the intended extraction directory by providing a specially crafted tar or deb archive that exploits argument confusion and lack of validation in symlink handling.

CVSS Base Scores

version 4.0
version 3.1