---
id: CVE-2022-0767
aliases:
  - GHSA-h65g-jfqg-2w6m
  - PYSEC-2026-306
title: Server-Side Request Forgery in calibreweb
summary: Server-Side Request Forgery in calibreweb
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H'
vendor: calibreweb
product: calibreweb
ecosystem: pip
affected:
  - calibreweb < 0.6.17
patched:
  - calibreweb 0.6.17
published: '2022-03-08'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T16:30:08.053242492Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-h65g-jfqg-2w6m'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-0767'
  - url: >-
      https://github.com/janeczku/calibre-web/commit/965352c8d96c9eae7a6867ff76b0db137d04b0b8
  - url: 'https://github.com/janeczku/calibre-web'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/calibreweb/PYSEC-2026-306.yaml
  - url: 'https://huntr.dev/bounties/b26fc127-9b6a-4be7-a455-58aefbb62d9e'
  - url: 'https://pypi.org/project/calibreweb'
  - url: 'https://github.com/advisories/GHSA-h65g-jfqg-2w6m'
tags:
  - osv
  - pip
  - ghsa
epss: 0.00985
epssPercentile: 0.62189
cwe:
  - CWE-918
ingestedAt: '2026-10-27T16:32:34.370Z'
---

## Overview

calibreweb prior to version 0.6.17 is vulnerable to server-side request forgery (SSRF). This is a result of incomplete SSRF protection that can be bypassed via an HTTP redirect. An HTTP server set up to respond with a 302 redirect may redirect a request to `localhost`.

## Affected packages

- `calibreweb < 0.6.17`

## Remediation

Upgrade to a patched release:

- `calibreweb 0.6.17`
