CVE-2025-28197: Crawl4AI Crawl4AI SSRF Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-445m-27cf-gr3x
CWE-918
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-28197
GHSA Identifier GHSA-445m-27cf-gr3x
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Crawl4AI
Package Ecosystem PyPI
Published Date
Last Updated

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.

Crawl4AI fixed: Latest secure release
pip install Crawl4AI>=Latest secure release
Verify Direct and Transitive Dependencies

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

Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py.

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?
CVE-2025-28197 is a security vulnerability in Crawl4AI involving Crawl4AI SSRF vulnerability under CWE-918: Server-Side Request Forgery (SSRF).
Which Crawl4AI versions are affected?
Affected versions include releases prior to current release patches across affected packages: Crawl4AI.
What version fixes CVE-2025-28197?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is Crawl4AI affected?
Yes, Crawl4AI is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-28197?
CVE-2025-28197 is classified under CWE-918: Server-Side Request Forgery (SSRF) (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.).
How can I check PyPI dependencies for CVE-2025-28197?
Run the dependency tree command: 'pip show Crawl4AI'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}