Vulnerability GHSA-rfq9-vxwf-vmg8

Medium Risk
MEDIUM RISK
CVSS Score: 6.8
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
11 hours ago
November 30, 2026 at 08:57 PM UTC
TastyIgniter: Unrestricted outbound URL fetch in Media::addFromUrl() is a latent SSRF gadget
v4.0.0-beta.1 and v4.0.0 and v4.0.1 and v4.0.3 and v4.0.6 and v4.0.7 and v4.0.8 and v4.0.9 and v4.0.10 and v4.0.11 and v4.0.12 and v4.0.13 and v4.0.14 and v4.0.15 and v4.0.16 and v4.1.0 and v4.1.1 and v4.2.0 and v4.2.1 and v4.2.2 and v4.2.3 and v4.2.4 and v4.2.5 and v4.3.0 and v4.3.1 and v4.3.2 and v4.3.3 and v4.3.4 and v4.4.0 and v4.4.1 and v4.4.2 and v4.4.3
v4.0.0-beta.1 and v4.0.0 and v4.0.1 and v4.0.3 and v4.0.6 and v4.0.7 and v4.0.8 and v4.0.9 and v4.0.10 and v4.0.11 and v4.0.12 and v4.0.13 and v4.0.14 and v4.0.15 and v4.0.16 and v4.1.0 and v4.1.1 and v4.2.0 and v4.2.1 and v4.2.2 and v4.2.3 and v4.2.4 and v4.2.5 and v4.3.0 and v4.3.1 and v4.3.2 and v4.3.3 and v4.3.4 and v4.4.0 and v4.4.1 and v4.4.2 and v4.4.3

Summary

TastyIgniter: Unrestricted outbound URL fetch in Media::addFromUrl() is a latent SSRF gadget

Details

Summary

The framework-level media-attachment helper Media::addFromUrl() performs an outbound HTTP GET against a caller-supplied URL with no host/scheme validation — no protection against loopback, link-local/cloud-metadata, or private-network targets. No shipped feature in the current codebase currently calls this method, so there is no live attack path today, but any future first-party or marketplace-extension feature (e.g. "import image from URL") that naturally reaches for this existing public method would inherit an unprotected SSRF primitive.

Details

src/Flame/Database/Attach/Media.php (lines 157-175):

public function addFromUrl(string $url, $filename = null, ?string $tag = null): self
{
    $response = Http::get($url);
    ...
}

A full grep of tastyigniter/core and all currently bundled first-party extensions found no caller of this method anywhere — it is currently unreachable/dead code.

PoC

Executed via php artisan tinker against a safe, owned local target (the application's own /robots.txt) to demonstrate the underlying mechanism fires without any validation:

Http::get($url) // called with a loopback URL
-> successful: true, status: 200, body returned unmodified

The call to Http::get() inside addFromUrl() executes unconditionally before any other logic runs; no host allowlist, scheme restriction, or private-IP block is present.

Impact

No impact today, since nothing in the current codebase calls this method. If a future feature (first-party or third-party marketplace extension) wires an admin- or user-facing "fetch image from URL" capability to this existing method, whoever can reach that feature would be able to make the server issue requests to internal-network services or cloud metadata endpoints that should never be reachable externally. Reporting proactively so it can be hardened at the source before any caller is added.

Impacted packages

Timeline

Published
11 hours ago
November 30, 2026 at 08:57 PM UTC
Last Modified
11 hours ago
November 30, 2026 at 09:15 PM UTC