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

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-04-13T20:32:07.072Z
- Modified: 2026-06-17T10:37:52.663Z
- Weaknesses: CWE-367, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- espocrm espocrm: < 9.3.4; before 9.3.4

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/espocrm/espocrm/security/advisories/GHSA-6m4j-fwrx-crh7> (exploit, vendor-advisory)
- <https://github.com/espocrm/espocrm/commit/dca03cc3458e487362c26c746378a2d4de9990b1> (exploit, patch)
- <https://github.com/espocrm/espocrm/releases/tag/9.3.4> (exploit, release-notes)

## Sources

- CVE List: [CVE-2026-33659](https://www.cve.org/CVERecord?id=CVE-2026-33659), CVE Terms of Use, modified 2026-04-14
- NVD: [CVE-2026-33659](https://nvd.nist.gov/vuln/detail/CVE-2026-33659), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33659 · Whole record: https://cve.day/CVE-2026-33659.json · Rebuilt by cve.day 2026-11-25T22:59:18.643Z
