Skip to main content
Vulnerability Database/CVE-2026-112288

CVE-2026-112288: Krayin CRM SSRF Filter Bypass Vulnerability

CVE-2026-112288 is an SSRF filter bypass flaw in Krayin CRM that enables attackers to exploit DNS rebinding and access internal services. This post explains the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112288 Overview

CVE-2026-112288 is a Server-Side Request Forgery (SSRF) filter bypass in Krayin CRM versions 2.2.5 before 2.2.7. The flaw resides in the WebhookService::isSafeEndpoint() validation routine. Authenticated users with webhook permissions can abuse DNS rebinding to reach internal network addresses and cloud metadata endpoints. The validator resolves a hostname to a public address, passes the safety check, and then Guzzle re-resolves the same hostname to an internal address when it issues the HTTP request. This category of weakness maps to CWE-918.

Critical Impact

Authenticated attackers with webhook permissions can send blind requests from the Krayin CRM server to internal services and cloud metadata endpoints such as 169.254.169.254.

Affected Products

  • Krayin CRM 2.2.5
  • Krayin CRM 2.2.6
  • Krayin CRM versions prior to 2.2.7

Discovery Timeline

  • 2026-10-19 - CVE-2026-112288 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-112288

Vulnerability Analysis

Krayin CRM's webhook automation module validates outbound URLs through WebhookService::isSafeEndpoint() before dispatching requests. The validator performs a DNS lookup, confirms that the resolved address is not private or reserved, and then returns control to the webhook dispatcher. The dispatcher subsequently hands the raw hostname to the Guzzle HTTP client, which performs its own independent DNS resolution. This time-of-check to time-of-use (TOCTOU) gap allows an attacker-controlled authoritative DNS server to return a public address during validation and an internal address when Guzzle executes the request.

Because the webhook invocation is blind, the attacker does not see the HTTP response body. The side effects of reaching internal services, including metadata endpoints and unauthenticated administrative APIs, still occur. Exploitation requires high privileges (an account with webhook configuration access) and high attack complexity due to the DNS rebinding infrastructure needed.

Root Cause

The root cause is a split between hostname validation and hostname resolution. isSafeEndpoint() evaluates the DNS answer at check time, while Guzzle resolves the hostname again at request time. Krayin CRM does not pin the validated IP, enforce a resolver cache that outlives the DNS record's time-to-live (TTL), or use a custom cURL resolver that forces the HTTP client to connect to the already-validated address.

Attack Vector

An attacker with webhook permissions configures a webhook URL pointing at a hostname they control. The attacker's authoritative DNS server serves a very short TTL and alternates between a public IP (passing isSafeEndpoint()) and an internal target such as 169.254.169.254 or 127.0.0.1 (hit by Guzzle). Triggering the webhook causes the Krayin CRM backend to issue the request to the internal address, potentially retrieving cloud instance credentials or reaching unauthenticated internal management services.

php
// Related security patch from the same release cycle (object-level authorization fix)
// Source: https://github.com/krayin/laravel-crm/commit/64b9125f33a7eb2ef9916d0e5fd8215c7f6a8c28
public function search(): AnonymousResourceCollection
{
    $quoteRepository = $this->quoteRepository
        ->pushCriteria(app(RequestCriteria::class));

    /**
     * Scope the result to the acting user's data scope, the same way the listing and the data
     * grid already are. Without it this endpoint returned every quote — subject, description,
     * billing and shipping address, totals, and the linked person's contact details — to any
     * user with quote access, regardless of who owned the record.
     */
    if ($userIds = bouncer()->getAuthorizedUserIds()) {
        $quotes = $quoteRepository->findWhereIn('user_id', $userIds);
    } else {
        $quotes = $quoteRepository->all();
    }

    return QuoteResource::collection($quotes);
}

Source: GitHub Commit 64b9125f. The commit covers hardening work shipped in the v2.2.7 release that also addressed the SSRF filter bypass.

Detection Methods for CVE-2026-112288

Indicators of Compromise

  • Outbound HTTP requests from the Krayin CRM application server to RFC1918 ranges, 127.0.0.0/8, or link-local 169.254.169.254.
  • Webhook configurations referencing hostnames with abnormally low DNS TTL values or hostnames resolving to multiple disparate IPs within seconds.
  • DNS query logs showing repeated A-record lookups for the same webhook hostname with alternating public and internal responses.

Detection Strategies

  • Correlate webhook execution events in Krayin CRM application logs with the destination IPs recorded at the network egress layer.
  • Alert on any process running the Krayin PHP stack making TCP connections to cloud metadata IPs or private ranges.
  • Compare the IP resolved during validation against the IP ultimately connected to by Guzzle, flagging mismatches as a rebinding indicator.

Monitoring Recommendations

  • Capture egress NetFlow or VPC Flow Logs from the host running Krayin CRM and baseline the expected set of webhook destinations.
  • Enable DNS query logging on the resolver used by the application and retain responses for retroactive hunting.
  • Monitor the webhooks table and audit new or modified webhook endpoints by user and timestamp.

How to Mitigate CVE-2026-112288

Immediate Actions Required

  • Upgrade Krayin CRM to version 2.2.7 or later, which contains the fix for the DNS rebinding bypass.
  • Audit all existing webhook configurations and remove entries pointing to unexpected or recently added hostnames.
  • Restrict the webhook permission to a minimal set of trusted administrator roles.

Patch Information

The fix is included in Krayin CRM Release v2.2.7 and tracked in Pull Request #2683. Review the upstream WebhookService source and the VulnCheck Advisory for additional technical context.

Workarounds

  • Place the Krayin CRM server behind an egress proxy that enforces an allowlist of permitted webhook destinations.
  • Block outbound traffic from the application host to RFC1918 ranges, 127.0.0.0/8, and 169.254.169.254 at the host firewall.
  • On AWS, enforce Instance Metadata Service Version 2 (IMDSv2) to require a session token for metadata access.
bash
# Example iptables rules to block SSRF targets from the Krayin CRM host
iptables -A OUTPUT -m owner --uid-owner www-data -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 127.0.0.0/8 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.