SQL injection in calibrewebGHSA-8ppf-x4gr-2x7g
CRITICALGHSA-8ppf-x4gr-2x7g is a critical-severity (CVSS 9.8) SQL Injection vulnerability in calibreweb. A fix is available for calibreweb — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
calibrewebReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Calibre-Web before 0.6.18 allows user table SQL Injection.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | calibreweb | all versions | 0.6.18pip install --upgrade 'calibreweb==0.6.18' |
Affected Products
calibre-webjaneczkuDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for calibreweb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update calibreweb to 0.6.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8ppf-x4gr-2x7g is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
Frequently Asked Questions
Is GHSA-8ppf-x4gr-2x7g in your dependencies?
Find it across PyPI, including transitive dependencies.