Advisory

PYSEC-2026-304

Also known as: CVE-2022-0766, GHSA-2647-c639-qv2j

Summary

Server-Side Request Forgery in calibreweb

Details

calibreweb prior to version 0.6.17 is vulnerable to server-side request forgery (SSRF). This is due to an incomplete fix for CVE-2022-0339. The blacklist does not check for 0.0.0.0, which would result in a payload of 0.0.0.0 resolving to localhost.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

calibreweb

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.17 (ecosystem)

Fixed versions

0.6.17

Fix

  • Fixed version 0.6.17
    pip install --upgrade calibreweb==0.6.17

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences