{"schema":"threatline.record/2","record":{"id":"CVE-2022-0766","aliases":["GHSA-2647-c639-qv2j","PYSEC-2026-304"],"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](https://github.com/advisories/GHSA-4w8p-x6g8-fv64). The blacklist does not check for `0.0.0.0`, which would result in a payload of `0.0.0.0` resolving to `localhost`.","categories":["Libraries & packages"],"product":"calibreweb","vendor":"janeczku","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2647-c639-qv2j","source_modified_at":"2026-10-27T15:12:11Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"pip","name":"calibreweb"},"range":"< 0.6.17"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2022-0766","source_modified_at":"2024-08-02T23:40:03.799Z","fetched_at":"2026-10-27T16:27:21.584480Z","product":"janeczku/calibre-web","vendor":"janeczku","versions":[{"lessThan":"0.6.17","status":"affected","version":"unspecified","versionType":"custom"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2647-c639-qv2j","source_modified_at":"2026-10-27T15:30:03.252544719Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"calibreweb","ecosystem":"PyPI","purl":"pkg:pypi/calibreweb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.17"}]}],"versions":["0.6.12","0.6.13","0.6.14","0.6.15","0.6.16"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-2647-c639-qv2j","source_modified_at":"2026-10-27T15:12:11Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"ecosystem":"pip","name":"calibreweb"},"version":"0.6.17"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2022-0766","source_modified_at":"2024-08-02T23:40:03.799Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"janeczku/calibre-web","ecosystem":null},"version":"0.6.17","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-2647-c639-qv2j","source_modified_at":"2026-10-27T15:30:03.252544719Z","fetched_at":"2026-10-27T16:27:21.584480Z","package":{"name":"calibreweb","ecosystem":"PyPI","purl":"pkg:pypi/calibreweb"},"version":"0.6.17"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.01315,"percentile":0.70597,"score_date":"2026-10-27"},"published_at":"2022-03-07T07:05:19.000Z","modified_at":"2026-10-27T15:30:03.252544719Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-2647-c639-qv2j","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T15:12:11Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0766","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2024-08-02T23:40:03.799Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-2647-c639-qv2j","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27T15:30:03.252544719Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0766","fetched_at":"2026-10-27T16:27:21.584480Z","source_modified_at":"2026-10-27"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0766","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/janeczku/calibre-web/commit/965352c8d96c9eae7a6867ff76b0db137d04b0b8","tags":["x_refsource_MISC","x_transferred"]},{"source":"CVE List","url":"https://huntr.dev/bounties/7f2a5bb4-e6c7-4b6a-b8eb-face9e3add7b","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/calibreweb/PYSEC-2026-304.yaml","source":"GitHub Advisory Database"},{"url":"https://pypi.org/project/calibreweb","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-2647-c639-qv2j","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T15:30:03.252544719Z","content_hash":"62420960651ff617ae3e0764c71d4ab0347ce34623c4cfe6032936713404ad5f"}}
