# CVE-2026-33659: EspoCRM: SSRF via DNS Rebinding in Attachment fromImageUrl Endpoint Allows Internal Network Access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.5
- **CVSS:** 3.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **CWE:** CWE-918, CWE-367
- **Published:** 2026-04-13T20:32:07.072Z
- **Modified:** 2026-06-17T10:37:52.663Z

## Who should check

- Anyone running espocrm \< 9.3.4

## Description

EspoCRM is an open source customer relationship management application. In versions 9.3.3 and below, the POST /api/v1/Attachment/fromImageUrl endpoint is vulnerable to Server-Side Request Forgery (SSRF) via a DNS rebinding (TOCTOU) condition. Host validation uses dns\_get\_record() but the actual HTTP request resolves hostnames through curl's internal resolver (gethostbyname()), allowing the two lookups to return different IP addresses for the same hostname. A secondary issue exists where an empty DNS result (due to DNS failure, IPv6-only domains, or non-existent hostnames) causes the validation to implicitly allow the host without further checks. An authenticated attacker with default attachment creation access can exploit this gap to bypass internal IP restrictions and scan internal network ports, confirm the existence of internal hosts, and interact with internal HTTP-based services, though data extraction from binary protocol services and remote code execution are not possible through this endpoint. This issue has been fixed in version 9.3.4.

## Affected and fixed versions

- espocrm: \< 9.3.4 (cvelist)

## Mitigation

- Upgrade espocrm to 9.3.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-33659. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-33659.md
Affected: espocrm < 9.3.4
Fixed in: espocrm 9.3.4

Steps:
1. Search this machine and project for espocrm: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-33659 being exploited?

There is no confirmed exploitation: CVE-2026-33659 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-33659?

Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

espocrm \< 9.3.4.

### Is there a fix for CVE-2026-33659?

Yes. Fixed in espocrm 9.3.4. Upgrade espocrm to 9.3.4 or later.

### How do I check if I'm affected by CVE-2026-33659?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/espocrm/espocrm/security/advisories/GHSA-6m4j-fwrx-crh7>
- patch: <https://github.com/espocrm/espocrm/commit/dca03cc3458e487362c26c746378a2d4de9990b1>
- other: <https://github.com/espocrm/espocrm/releases/tag/9.3.4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-33659>

HTML: <https://flawdb.com/CVE-2026-33659> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-33659>
