Skip to content
Heist/ feed
Back to feed
CriticalFix available

Server-Side Request Forgery in calibreweb

Type: advisorySources: OSV

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`.

Products
calibreweb
Affected versions
0.6.12, 0.6.13, 0.6.14, 0.6.15, 0.6.16
Fixed versions
0.6.17
CVEs
CVE-2022-0766
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 18:44 UTC · Revision 1

Source evidence

Server-Side Request Forgery in calibreweb

core-osv · Original source

Published 8 Mar 2022, 00:00 UTC

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`.

osv:GHSA-2647-c639-qv2j

calibreweb

Fixed versions: 0.6.17

Complete source record
{
  "id": "ff629579e6fcb2c5472707e2fc3aa72283453fd0407283fd6869ee92f780a7a7",
  "url": "https://osv.dev/vulnerability/GHSA-2647-c639-qv2j",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Server-Side Request Forgery in calibreweb",
    "summary": "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`.",
    "evidence": "osv:GHSA-2647-c639-qv2j",
    "products": [
      {
        "name": {
          "value": "calibreweb",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.17",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.6.12",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.13",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.14",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.15",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.16",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "GHSA-2647-c639-qv2j",
      "aliases": [
        "CVE-2022-0766",
        "GHSA-2647-c639-qv2j",
        "PYSEC-2026-304"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.17"
                }
              ]
            }
          ],
          "package": {
            "name": "calibreweb",
            "purl": "pkg:pypi/calibreweb",
            "ecosystem": "PyPI"
          },
          "versions": [
            "0.6.12",
            "0.6.13",
            "0.6.14",
            "0.6.15",
            "0.6.16"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-2647-c639-qv2j/GHSA-2647-c639-qv2j.json"
          }
        }
      ],
      "modified": "2026-10-27T15:30:03.252544719Z",
      "provider": "osv",
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2022-0766",
        "https://github.com/janeczku/calibre-web/commit/965352c8d96c9eae7a6867ff76b0db137d04b0b8",
        "https://github.com/janeczku/calibre-web",
        "https://github.com/pypa/advisory-database/tree/main/vulns/calibreweb/PYSEC-2026-304.yaml",
        "https://huntr.dev/bounties/7f2a5bb4-e6c7-4b6a-b8eb-face9e3add7b",
        "https://pypi.org/project/calibreweb"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "severity": "CRITICAL",
        "github_reviewed": true,
        "nvd_published_at": "2022-03-07T07:15:00Z",
        "github_reviewed_at": "2022-03-08T18:11:03Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-0766",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 462829,
  "published_at": "2022-03-08T00:00:31+00:00"
}