Skip to main content

EspoCRM CVE-2026-33659

| EUVDEUVD-2026-22083 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-13 GitHub_M
3.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as any standard EspoCRM user
  2. Delivery
    Register attacker-controlled domain with sub-second DNS TTL
  3. Exploit
    Submit POST /api/v1/Attachment/fromImageUrl with malicious domain
  4. Install
    EspoCRM validates host via dns_get_record() returning public IP (passes)
  5. C2
    Flip DNS record to internal target IP before curl executes
  6. Execute
    curl fetches from internal host
  7. Impact
    Infer 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

espocrm < 9.3.4

Affected Packages

euvd espocrm fix: 9.3.4

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

GitHub Advisory PRIMARY 3.5 LOW
AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
vuln.today AI 3.5 LOW

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

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

3
PoC Detected
Apr 22, 2026 - 00:07 vuln.today
Public exploit code
Patch released
Apr 14, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 13, 2026 - 20:32 nvd
LOW 3.5

DescriptionGitHub 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

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Low
open-source niche CRM with limited enterprise market share
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2014-7985 CRITICAL POC
10.0 Oct 31

Directory traversal vulnerability in EspoCRM before 2.6.0 allows remote attackers to include and execute arbitrary local

CVE-2026-47168 CRITICAL POC
9.1 Oct 15

PHP object deserialization in EspoCRM versions prior to 9.3.7 lets an authenticated administrator achieve remote code ex

CVE-2026-33656 CRITICAL POC
9.1 Apr 22

Path traversal in EspoCRM's formula scripting engine allows authenticated administrators to achieve arbitrary file read/

CVE-2022-38843 HIGH POC
8.8 Sep 16

EspoCRM version 7.1.8 is vulnerable to Unrestricted File Upload allowing attackers to upload malicious file with any ext

CVE-2019-14351 HIGH POC
8.8 Jul 28

EspoCRM 5.6.4 is vulnerable to user password hash enumeration. Rated high severity (CVSS 8.8), this vulnerability is rem

CVE-2026-126306 HIGH POC
8.6 Nov 13

Stored cross-site scripting in EspoCRM's SVG attachment handling lets an authenticated low-privileged user upload a craf

CVE-2020-37094 HIGH POC
8.6 Feb 03

Authorization bypass in EspoCRM 5.8.5 lets an authenticated low-privilege user reuse or manipulate Basic-Authorization a

CVE-2026-126305 HIGH POC
8.5 Nov 13

Stored cross-site scripting in EspoCRM Knowledge Base articles affects versions before 9.3.11 and 10.0.0 through 10.0.8,

CVE-2026-105833 HIGH POC
8.3 Oct 08

EspoCRM deployments before 10.0.5 allow an authenticated user with Email Account scope to retrieve other users' stored I

CVE-2022-38844 HIGH POC
8.0 Sep 16

CSV Injection in Create Contacts in EspoCRM 7.1.8 allows remote authenticated users to run system commands via creating

CVE-2026-53574 HIGH POC
7.6 Oct 15

Boolean-based blind SQL injection in EspoCRM versions 8.1.0 through 9.3.7 allows an authenticated non-administrator to i

CVE-2026-33733 HIGH POC
7.2 Apr 22

Path traversal in EspoCRM admin template management allows authenticated administrators to read, create, overwrite, or d

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy