CVE-2026-33481: Syft Improper Temporary File Cleanup Vulnerability

github.com/anchore/syft Updated 20 Mar 2026

Summary

20/03/2026
Yes i
Moderate
5.3

CVE-2026-33481: Syft improper temporary file cleanup. Affects github.com/anchore/syft versions < 1.42.3. Fixed in 1.42.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Syft is an open-source tool developed by Anchore that enables users to generate a Software Bill of Materials (SBOM) for container images and filesystems. It inspects the contents of archives and generates detailed reports about the components and licenses present. However, prior to version 1.42.3, Syft had a vulnerability that could lead to improper cleanup of temporary files, particularly when scanning large or highly compressed artifacts.

Vulnerability Detail

The vulnerability arises from Syft's failure to properly clean up temporary storage when it encounters an error due to exhausted temporary storage during a scan. When scanning archives, Syft unpacks the contents into temporary storage, and under normal circumstances, it removes these files after the scan. However, if the temporary storage is filled, Syft raises an error and exits without removing the temporary files, leading to potential depletion of temporary storage. This can prevent future runs of Syft or other system utilities that rely on available temporary storage.

How To Fix

Latest published version: v1.55.0 as of 23 Oct 2026

go get github.com/anchore/syft@v1.55.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.42.3

This is the first release that contains the fix.

go get github.com/anchore/syft@v1.42.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds for this vulnerability. Users experiencing depleted temporary storage can manually remove the temporary files created by Syft to free up space.

Conclusion

In summary, CVE-2026-33481 represents a significant vulnerability in Syft versions prior to 1.42.3, where improper cleanup of temporary files can lead to storage depletion. Users are advised to update to the patched version to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can further enhance security.

See every vulnerability recorded for github.com/anchore/syft →

Share this vulnerability

FAQ

The impact includes the potential exhaustion of temporary storage, which can hinder the operation of Syft and other system utilities that depend on available temporary storage.

You can check your version of Syft by running 'syft version' in your terminal. If it is below 1.42.3, it is affected by this vulnerability.

If you cannot update immediately, you should monitor your temporary storage usage and manually clean up temporary files created by Syft to avoid running out of space.

Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software without requiring code access. You can also check if your application is affected using the Vulert playground.

The CVSS score for this vulnerability is 5.3, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/anchore/syft.

How To Fix

Latest published version: v1.55.0 as of 23 Oct 2026

go get github.com/anchore/syft@v1.55.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.42.3

This is the first release that contains the fix.

go get github.com/anchore/syft@v1.42.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback