Skip to content
Heist/ feed
Back to feed
Low

EspoCRM: SSRF via DNS Rebinding in Attachment fromImageUrl Endpoint Allows Internal Network Access

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-33659
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:45 UTC · Revision 1

Source evidence

EspoCRM: SSRF via DNS Rebinding in Attachment fromImageUrl Endpoint Allows Internal Network Access

core-osv · Original source

Published 13 Apr 2026, 20:32 UTC

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.

osv:CVE-2026-33659
Complete source record
{
  "id": "beb275a16ae2f9417678802b0d1073f0a437fa64cdaf8421b865ed0832ad50bc",
  "url": "https://osv.dev/vulnerability/CVE-2026-33659",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "EspoCRM: SSRF via DNS Rebinding in Attachment fromImageUrl Endpoint Allows Internal Network Access",
    "summary": "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.",
    "evidence": "osv:CVE-2026-33659",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-33659",
      "aliases": [
        "CVE-2026-33659",
        "GHSA-6m4j-fwrx-crh7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/espocrm/espocrm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f1763e732f34fbebf7f70f176eec1ccd8a272679"
                },
                {
                  "fixed": "dca03cc3458e487362c26c746378a2d4de9990b1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:espocrm:espocrm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dca03cc3458e487362c26c746378a2d4de9990b1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f1763e732f34fbebf7f70f176eec1ccd8a272679"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "9.3.4"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.3.3",
            "9.3.2",
            "9.3.1",
            "9.3.0",
            "9.2.0",
            "9.1.0",
            "9.0.2",
            "9.0.1",
            "9.0.0",
            "8.4.0",
            "8.2.0",
            "8.1.0",
            "8.0.2",
            "8.0.1",
            "8.0.0",
            "7.4.3",
            "7.4.2",
            "7.4.1",
            "7.4.0",
            "7.3.0",
            "7.2.0",
            "7.1.3",
            "7.1.2",
            "7.1.1",
            "7.1.0",
            "7.0.8",
            "7.0.7",
            "7.0.6",
            "7.0.5",
            "7.0.4",
            "7.0.3",
            "7.0.2",
            "7.0.1",
            "7.0.0",
            "6.0.1",
            "6.0.0",
            "6.0.0-beta4",
            "6.0.0-beta2",
            "6.0.0-beta1",
            "5.9.2",
            "5.9.1",
            "5.9.0",
            "5.8.2",
            "5.8.1",
            "5.8.0",
            "5.7.5",
            "5.7.4",
            "5.7.3",
            "5.7.2",
            "5.7.1",
            "5.7.0",
            "5.6.1",
            "5.6.0",
            "5.5.1",
            "5.5.0",
            "5.4.3",
            "5.4.2",
            "5.4.1",
            "5.4.0",
            "5.3.2",
            "5.3.1",
            "5.3.0",
            "5.2.5",
            "5.2.4",
            "5.2.3",
            "5.2.2",
            "5.2.1",
            "5.2.0",
            "5.1.2",
            "5.1.1",
            "5.1.0",
            "5.0.1",
            "5.0.0",
            "4.8.0",
            "4.7.0",
            "4.6.0",
            "4.5.0",
            "4.4.0",
            "4.3.0",
            "4.3.0-beta.2",
            "4.3.0-beta.1",
            "4.2.4",
            "4.2.3",
            "4.2.2",
            "4.2.1",
            "4.2.0",
            "4.1.4",
            "4.1.3",
            "4.1.2",
            "4.1.1",
            "4.1.0",
            "4.0.3",
            "4.0.2",
            "4.0.1",
            "4.0.0",
            "4.0.0-beta.4",
            "4.0.0-beta.3",
            "4.0.0-beta.2",
            "4.0.0-beta.1",
            "3.9.1",
            "3.9.0",
            "3.8.0",
            "3.7.1",
            "3.7.0",
            "3.6.1",
            "3.6.0",
            "3.5.0",
            "3.4.2",
            "3.4.1",
            "3.4.0",
            "3.3.0",
            "3.2.0",
            "3.1.0",
            "3.0.0",
            "2.9.0",
            "2.8.1",
            "2.8.0",
            "2.6.0",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.0",
            "2.3.0",
            "2.0.1",
            "1.2.0",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33659.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.089311468Z",
      "provider": "osv",
      "references": [
        "https://github.com/espocrm/espocrm/releases/tag/9.3.4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33659.json",
        "https://github.com/espocrm/espocrm/security/advisories/GHSA-6m4j-fwrx-crh7",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-33659",
        "https://github.com/espocrm/espocrm/commit/dca03cc3458e487362c26c746378a2d4de9990b1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-367",
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33659.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-33659",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510812,
  "published_at": "2026-04-13T20:32:07.072+00:00"
}