CVE-2025-28197: Crawl4AI Crawl4AI SSRF Vulnerability Vulnerability
MODERATECVE-2025-28197 is a MODERATE crawl4ai ssrf vulnerability vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Crawl4AI libraries in the PyPI ecosystem. The issue involves crawl4ai ssrf vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2025-28197 at a Glance
How to Fix CVE-2025-28197
To remediate this vulnerability, upgrade all affected Crawl4AI 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 Crawl4AI>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Crawl4AI
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-28197, inspect your installed packages using pip:
pip show Crawl4AI
Analyze the terminal output to locate any version of Crawl4AI 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 Crawl4AI command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Crawl4AI, 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-28197 Affected Crawl4AI Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Crawl4AI
|
PyPI |
≤ 0.4.247
|
|
References
Frequently Asked Questions
What is CVE-2025-28197?
Which Crawl4AI versions are affected?
What version fixes CVE-2025-28197?
Is Crawl4AI affected?
What CWE is associated with CVE-2025-28197?
How can I check PyPI dependencies for CVE-2025-28197?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-445m-27cf-gr3x",
"modified" : "2025-04-21T21:54:24Z",
"published" : "2025-04-18T21:31:20Z",
"aliases" : [ "CVE-2025-28197" ],
"summary" : "Crawl4AI SSRF vulnerability",
"details" : "Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Crawl4AI"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.4.247"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-28197"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/AndrewDzzz/f49e79b09ce0643ee1fc2a829e8875e0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/unclecode/crawl4ai"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-21T21:54:24Z",
"nvd_published_at" : "2025-04-18T20:15:16Z"
}
}