---
id: CVE-2022-30765
aliases:
  - GHSA-8ppf-x4gr-2x7g
  - PYSEC-2026-305
title: SQL injection in calibreweb
summary: SQL injection in calibreweb
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: calibreweb
product: calibreweb
ecosystem: pip
affected:
  - calibreweb < 0.6.18
patched:
  - calibreweb 0.6.18
published: '2022-05-17'
updated: '2026-10-27'
sourceUpdated: '2026-10-27T16:30:06.014427207Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8ppf-x4gr-2x7g'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-30765'
  - url: 'https://github.com/janeczku/calibre-web'
  - url: 'https://github.com/janeczku/calibre-web/blob/master/SECURITY.md'
  - url: 'https://github.com/janeczku/calibre-web/releases/tag/0.6.18'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/calibreweb/PYSEC-2026-305.yaml
  - url: 'https://pypi.org/project/calibreweb'
  - url: 'https://github.com/advisories/GHSA-8ppf-x4gr-2x7g'
tags:
  - osv
  - pip
  - ghsa
epss: 0.01207
epssPercentile: 0.68202
cwe:
  - CWE-89
ingestedAt: '2026-10-27T16:32:34.363Z'
---

## Overview

Calibre-Web before 0.6.18 allows user table SQL Injection.

## Affected packages

- `calibreweb < 0.6.18`

## Remediation

Upgrade to a patched release:

- `calibreweb 0.6.18`
