CVE-2021-4164 Cross-Site Request Forgery (CSRF) in janeczku/calibre-web

High 7.6 Published Updated

An attacker can trick authenticated users into performing unintended actions in Calibre Web via Cross-Site Request Forgery.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-4164?

CVE-2021-4164 is a high-severity vulnerability in janeczku/calibre-web, published on 17 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

calibre-web is vulnerable to Cross-Site Request Forgery (CSRF)

Weakness: CWE-352

Which versions are affected by CVE-2021-4164?

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

PackageAffectedFixed in
calibreweb PyPIAll versions0.6.15
calibreweb PyPIAll versions0.6.15
calibreweb PyPIAll versions0.6.15

Products include Janeczku Calibre-Web.

How do I fix CVE-2021-4164?

Upgrade calibreweb to 0.6.15 or later.

Is CVE-2021-4164 being exploited?

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

Sources

Also known as GHSA-wxr6-29pv-ch68, PYSEC-2026-621.

Is CVE-2021-4164 in your software?

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

Check your SBOMs for free