Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as any standard EspoCRM user
-
DeliveryRegister attacker-controlled domain with sub-second DNS TTL
-
ExploitSubmit POST /api/v1/Attachment/fromImageUrl with malicious domain
-
InstallEspoCRM validates host via dns_get_record() returning public IP (passes)
-
C2Flip DNS record to internal target IP before curl executes
-
Executecurl fetches from internal host
-
ImpactInfer internal service state from EspoCRM error messages or timing
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated EspoCRM user account with default attachment creation permissions - no administrative or elevated role is needed, meaning any standard registered user qualifies. For the primary DNS rebinding vector, the attacker must operate or compromise a DNS server capable of returning different IP addresses between successive queries for the same hostname with TTL ≤1 second, plus win the timing race between validation and curl execution; the SSVC confirms this is not automatable. For the secondary empty-DNS-result bypass, the attacker supplies a hostname that fails DNS resolution, is IPv6-only, or does not exist - this variant requires no DNS infrastructure but cannot target specific internal hosts by IP, limiting it to confirming whether certain hostnames resolve or fail. Both vectors are constrained to deployments where the EspoCRM application server can reach internal network resources (i.e., not fully network-isolated). Exploitation is explicitly limited to HTTP-based internal service interaction; binary protocol services cannot be read and RCE is not achievable via this endpoint per the vendor's own description. |
| Impact | The official CVSS 3.5 score (AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N) accurately characterizes moderate real-world risk. AC:H reflects the DNS rebinding timing dependency - the attacker must operate their own DNS infrastructure with sub-second TTL control and win a timing race, making this non-trivial to execute reliably. PR:L confirms standard authenticated access suffices; no admin or elevated role is needed. S:C is appropriate because the vulnerability allows curl on the EspoCRM server to reach internal systems outside the application's own trust boundary. The EPSS score of 0.04% (12th percentile) signals very low automated exploitation probability, consistent with the SSVC assessment of 'not automatable' driven by the DNS timing constraint. Despite a publicly available POC, the absence of a CISA KEV listing indicates exploitation has not been observed at scale. CRITICAL NOTE: the intelligence metadata includes an 'RCE' tag that is directly contradicted by the CVE description, which explicitly states remote code execution is not achievable via this endpoint - analysts should disregard that tag as erroneous. Real-world impact is bounded to internal network reconnaissance: port scanning, host enumeration, and interaction with internal HTTP services only. |
| Exploit ScenarioDerived | An authenticated EspoCRM user controls a domain with a DNS server configured for sub-second TTL. They submit POST /api/v1/Attachment/fromImageUrl with that domain; EspoCRM's dns_get_record() call resolves it to a legitimate public IP and the host passes validation. The attacker immediately flips the DNS record to an internal target (e.g., 192.168.1.1:8080 or the metadata endpoint 169.254.169.254) before curl issues its actual fetch, causing EspoCRM to proxy the request to the internal host. By analyzing EspoCRM's error responses or response timing, the attacker maps open internal ports, confirms host existence, and interacts with internal HTTP APIs. A POC is publicly available via the vendor's GitHub advisory at https://github.com/espocrm/espocrm/security/advisories/GHSA-6m4j-fwrx-crh7. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Server-Side Request Forgery in EspoCRM 9.3.3 and below allows authenticated attackers to bypass internal IP restrictions via a DNS rebinding race condition in the image attachment endpoint, enabling internal network reconnaissance. The root cause is a split-resolver design: host validation uses dns_get_record() while the actual HTTP fetch uses curl's independent gethostbyname() resolver - attacker-controlled DNS can return a public IP for validation and an internal IP for the actual request. A secondary bypass exists where empty DNS results cause validation to silently permit the host. No public exploit has been confirmed as actively exploited (not in CISA KEV), though a POC is publicly available and the vendor-confirmed fix shipped in 9.3.4.
RemediationAI
Upgrade to EspoCRM 9.3.4, which resolves both the DNS rebinding TOCTOU race and the empty-DNS-result bypass; the patched release is available at https://github.com/espocrm/espocrm/releases/tag/9.3.4 and the fixing commit is dca03cc3458e487362c26c746378a2d4de9990b1. If immediate patching is not feasible, restrict access to the POST /api/v1/Attachment/fromImageUrl endpoint via WAF rules or reverse proxy ACLs - note this disables the image URL attachment feature entirely as a trade-off. As a network-layer compensating control, block outbound HTTP and HTTPS connections from the EspoCRM application server to RFC-1918 address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local ranges (169.254.0.0/16) at the perimeter firewall; this limits SSRF blast radius to external targets but does not eliminate the vulnerability. The secondary empty-DNS bypass can be partially mitigated by ensuring the EspoCRM server's DNS resolver is configured to fail-closed on resolution errors rather than returning empty results, though this is a non-standard resolver configuration with potential operational side effects.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in EspoCRM's POST /api/v1/Attachment/fromImageUrl endpoint, which fetches remote images via curl. The affected HostCheck.php (versions ≤9.3.3) calls dns_get_record() to resolve a submitted hostname and validates the result against an internal IP blocklist, but the subsequent curl request independently resolves the same hostname via gethostbyname(). This split-resolver pattern is a textbook TOCTOU (Time-of-Check/Time-of-Use) race: by controlling a DNS server with a very short TTL, an attacker makes the validation lookup return a legitimate public IP, then flips the record to an internal IP before curl fires. CWE-918 (SSRF) applies. CPE: cpe:2.3:a:espocrm:espocrm:*:*:*:*:*:*:*:*. A compounding secondary flaw caused empty DNS responses - from DNS failure, IPv6-only domains, or non-existent hostnames - to implicitly pass validation instead of failing closed. The 9.3.4 fix in commit dca03cc introduces getCurlResolve(), which pre-resolves the hostname once and pins that resolved IP to curl via the --resolve flag, eliminating the race window entirely, and explicitly rejects empty DNS results by returning false.
Know when Espocrm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
DNS rebinding requires attacker-controlled DNS infrastructure and a timing race (AC:H); any authenticated standard user suffices (PR:L); internal network access changes scope (S:C) with limited confidentiality impact only (C:L, I:N, A:N).
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Directory traversal vulnerability in EspoCRM before 2.6.0 allows remote attackers to include and execute arbitrary local
PHP object deserialization in EspoCRM versions prior to 9.3.7 lets an authenticated administrator achieve remote code ex
Path traversal in EspoCRM's formula scripting engine allows authenticated administrators to achieve arbitrary file read/
EspoCRM version 7.1.8 is vulnerable to Unrestricted File Upload allowing attackers to upload malicious file with any ext
EspoCRM 5.6.4 is vulnerable to user password hash enumeration. Rated high severity (CVSS 8.8), this vulnerability is rem
Stored cross-site scripting in EspoCRM's SVG attachment handling lets an authenticated low-privileged user upload a craf
Authorization bypass in EspoCRM 5.8.5 lets an authenticated low-privilege user reuse or manipulate Basic-Authorization a
Stored cross-site scripting in EspoCRM Knowledge Base articles affects versions before 9.3.11 and 10.0.0 through 10.0.8,
EspoCRM deployments before 10.0.5 allow an authenticated user with Email Account scope to retrieve other users' stored I
CSV Injection in Create Contacts in EspoCRM 7.1.8 allows remote authenticated users to run system commands via creating
Boolean-based blind SQL injection in EspoCRM versions 8.1.0 through 9.3.7 allows an authenticated non-administrator to i
Path traversal in EspoCRM admin template management allows authenticated administrators to read, create, overwrite, or d
EUVD-2026-22083
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB