# CVE-2026-33752: Redirect-based SSRF leading to internal network access in curl_cffi (with TLS impersonation bypass)

> Attackers can exploit redirect handling and TLS impersonation in curl_cffi to access internal network services and bypass security controls.

- **Severity:** High 8.6 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 6 Apr 2026
- **Updated:** 6 Apr 2026
- **Also known as:** GHSA-qw2m-4pqf-rmpp, PYSEC-2026-2431

## What is CVE-2026-33752?

CVE-2026-33752 is a high-severity server-side request forgery vulnerability in lexiforest curl_cffi, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

curl_cffi is the a Python binding for curl. Prior to 0.15.0, curl_cffi does not restrict requests to internal IP ranges, and follows redirects automatically via the underlying libcurl. Because of this, an attacker-controlled URL can redirect requests to internal services such as cloud metadata endpoints. In addition, curl_cffi’s TLS impersonation feature can make these requests appear as legitimate browser traffic, which may bypass certain network controls. This vulnerability is fixed in 0.15.0.

Weakness: CWE-918 (Server-Side Request Forgery)

## Which versions are affected by CVE-2026-33752?

3 open source packages ship an affected version, including curl_cffi and curl-cffi. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `curl_cffi` | PyPI | All versions | 0.15.0 |
| `curl-cffi` | PyPI | All versions | 0.15.0 |
| `curl-cffi` | PyPI | All versions | 0.15.0 |

Products: Lexiforest Curl Cffi.

## How do I fix CVE-2026-33752?

Upgrade curl_cffi to 0.15.0 or later.

## Is CVE-2026-33752 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33752 exists.

Public exploit code:

- CVE-2026-33752(Redirect-based SSRF leading to internal network access in curl_cffi) (github_poc): https://github.com/redyank/CVE-2026-33752

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-33752 and fix it if it is affected.

What it is: CVE-2026-33752 is a high-severity server-side request forgery vulnerability in lexiforest curl_cffi, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33752 exists.

Affected packages and fixed versions:
- curl_cffi (PyPI): affected all versions; fixed in 0.15.0
- curl-cffi (PyPI): affected all versions; fixed in 0.15.0
- curl-cffi (PyPI): affected all versions; fixed in 0.15.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-33752/ (Markdown: https://insights.sbomify.com/CVE-2026-33752/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-33752
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-33752
- OSV: https://osv.dev/vulnerability/CVE-2026-33752

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-33752/
Summaries are generated and may contain mistakes; the official description above is the record.
