CVE-2025-7404: Calibreweb Calibre Web And Autocaliweb Have Vulnerability
MODERATECVE-2025-7404 is a MODERATE calibre web and autocaliweb have vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Calibreweb libraries in the PyPI ecosystem. The issue involves calibre web and autocaliweb have os command injection vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2025-7404 at a Glance
How to Fix CVE-2025-7404
To remediate this vulnerability, upgrade all affected Calibreweb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install calibreweb>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show calibreweb
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-7404, inspect your installed packages using pip:
pip show calibreweb
Analyze the terminal output to locate any version of Calibreweb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show calibreweb command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Calibreweb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-7404 Affected Calibreweb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
calibreweb
|
PyPI |
≤ 0.6.24
|
|
References
Frequently Asked Questions
What is CVE-2025-7404?
Which Calibreweb versions are affected?
What version fixes CVE-2025-7404?
Is calibreweb affected?
What CWE is associated with CVE-2025-7404?
How can I check PyPI dependencies for CVE-2025-7404?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qc4j-v7h6-xr5h",
"modified" : "2025-07-25T20:19:12Z",
"published" : "2025-07-24T21:30:39Z",
"aliases" : [ "CVE-2025-7404" ],
"summary" : "Calibre Web and Autocaliweb have OS Command Injection vulnerability",
"details" : "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Calibre Web, Autocaliweb allows Blind OS Command Injection. This issue affects Calibre Web: 0.6.24 (Nicolette); Autocaliweb: from 0.7.0 before 0.7.1.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "calibreweb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.6.24"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-7404"
}, {
"type" : "WEB",
"url" : "https://fluidattacks.com/advisories/kino"
}, {
"type" : "WEB",
"url" : "https://github.com/gelbphoenix/autocaliweb"
}, {
"type" : "WEB",
"url" : "https://github.com/janeczku/calibre-web"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-25T20:19:12Z",
"nvd_published_at" : "2025-07-24T21:15:52Z"
}
}