CVE-2026-40162 Bugsink affected by authenticated arbitrary file write in artifactbundle/assemble

High 7.1 Published Updated

Authenticated attackers can write arbitrary files to the server via the artifact bundle assembly flow in Bugsink, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-40162?

CVE-2026-40162 is a high-severity vulnerability in bugsink, published on 10 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Bugsink is a self-hosted error tracking tool. In 2.1.0, an authenticated file write vulnerability was identified in Bugsink 2.1.0 in the artifact bundle assembly flow. A user with a valid authentication token could cause the application to write attacker-controlled content to a filesystem location writable by the Bugsink process. This vulnerability is fixed in 2.1.1.

Weakness: CWE-20

Which versions are affected by CVE-2026-40162?

3 open source packages ship an affected version, including bugsink. It affects 1 product.

PackageAffectedFixed in
bugsink PyPIFrom 2.1.02.1.1
bugsink PyPIFrom 2.1.02.1.1
bugsink PyPIFrom 2.1.02.1.1

Products include Bugsink Bugsink.

How do I fix CVE-2026-40162?

Upgrade bugsink to 2.1.1 or later.

Is CVE-2026-40162 being exploited?

There is no known exploitation of CVE-2026-40162 in the wild and no public exploit code.

Sources

Also known as GHSA-8hw4-fhww-273g, PYSEC-2026-2404.

Is CVE-2026-40162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free