{"id":"GHSA-rfq9-vxwf-vmg8","summary":"TastyIgniter: Unrestricted outbound URL fetch in Media::addFromUrl() is a latent SSRF gadget","details":"### Summary\nThe 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.\n\n### Details\n`src/Flame/Database/Attach/Media.php` (lines 157-175):\n\n    public function addFromUrl(string $url, $filename = null, ?string $tag = null): self\n    {\n        $response = Http::get($url);\n        ...\n    }\n\nA 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.\n\n### PoC\nExecuted 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:\n\n    Http::get($url) // called with a loopback URL\n    -\u003e successful: true, status: 200, body returned unmodified\n\nThe call to `Http::get()` inside `addFromUrl()` executes unconditionally before any other logic runs; no host allowlist, scheme restriction, or private-IP block is present.\n\n### Impact\nNo 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.","aliases":["CVE-2026-134024"],"modified":"2026-11-30T21:15:10.389468173Z","published":"2026-11-30T20:57:01Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-11-30T20:57:01Z","nvd_published_at":"2026-11-23T23:17:05Z","cwe_ids":["CWE-918"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-rfq9-vxwf-vmg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134024"},{"type":"WEB","url":"https://github.com/tastyigniter/core/pull/80"},{"type":"WEB","url":"https://github.com/tastyigniter/core/commit/0e185dcfb919abf37a085c517e940c10c9903bba"},{"type":"PACKAGE","url":"https://github.com/tastyigniter/TastyIgniter"},{"type":"WEB","url":"https://github.com/tastyigniter/core/releases/tag/v4.4.4"}],"affected":[{"package":{"name":"tastyigniter/core","ecosystem":"Packagist","purl":"pkg:composer/tastyigniter/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.4"}]}],"versions":["v4.0.0","v4.0.0-beta.1","v4.0.1","v4.0.10","v4.0.11","v4.0.12","v4.0.13","v4.0.14","v4.0.15","v4.0.16","v4.0.3","v4.0.6","v4.0.7","v4.0.8","v4.0.9","v4.1.0","v4.1.1","v4.2.0","v4.2.1","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.3.0","v4.3.1","v4.3.2","v4.3.3","v4.3.4","v4.4.0","v4.4.1","v4.4.2","v4.4.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-rfq9-vxwf-vmg8/GHSA-rfq9-vxwf-vmg8.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"}]}