Nov 30, 2026·10 min read·2 visits
TastyIgniter Core prior to version 4.4.4 contains an unvalidated outbound HTTP request method in Media::addFromUrl(). While not called directly by built-in features, third-party extensions passing user input to this method allow attackers to perform Server-Side Request Forgery (SSRF) and read responses stored as media files. Upgrading to version 4.4.4 completely removes the vulnerable method.
CVE-2026-134024 is a Server-Side Request Forgery (SSRF) vulnerability (CWE-918) in the TastyIgniter open-source restaurant management platform prior to version 4.4.4. The flaw resides in the Media::addFromUrl() helper method within the tastyigniter/core package, which initiates outbound HTTP GET requests to caller-supplied URLs and persists the response body without validating the URI scheme, target hostname, or resolved IP address. Although unreachable in a default unextended installation, the method functions as a latent SSRF gadget that exposes the host environment to internal network reconnaissance and cloud metadata extraction when invoked by third-party extensions or custom application code.
TastyIgniter is an open-source online ordering, table reservation, and restaurant management platform built on the PHP Laravel framework. The platform's core functionality is distributed via the tastyigniter/core Composer package, which includes the Igniter\Flame foundation library responsible for database abstractions, file management, and media attachments. Within this library, the Igniter\Flame\Database\Attach\Media class manages file uploads and media associations for Eloquent models across the application.
Prior to version 4.4.4, the Media class exposed a helper method named addFromUrl() located in src/Flame/Database/Attach/Media.php. This method was designed to fetch a remote file from a specified URL over HTTP and store the resulting data stream directly into the application's configured filesystem disk as a media attachment. However, the implementation lacked input validation or network egress controls on the caller-supplied URL string.
Tracked as CVE-2026-134024 (and GitHub Security Advisory GHSA-rfq9-vxwf-vmg8), this flaw is classified under CWE-918: Server-Side Request Forgery (SSRF). Because addFromUrl() passed the raw URL argument directly to Laravel's HTTP client wrapper and persisted the resulting HTTP response body into accessible media storage, it established a full-read SSRF primitive. If an attacker could control the $url parameter passed to this method, they could force the application server to issue HTTP GET requests to internal network destinations and retrieve the response contents.
> [!NOTE]
> The TastyIgniter maintainers confirmed that no first-party controllers or shipped core features invoked Media::addFromUrl(). In a default installation without third-party plugins, the vulnerable code path is dead code. However, because TastyIgniter operates as an extensible content management system with a plugin ecosystem, the method served as a latent SSRF gadget available to any third-party extension or custom integration.
The root cause of CVE-2026-134024 is the complete absence of URL parsing, scheme restriction, and destination IP address validation prior to initiating an outbound network connection in Igniter\Flame\Database\Attach\Media::addFromUrl(). When handling remote URL fetching in web applications, secure implementations must parse the target URI, restrict the protocol to http or https, resolve the domain name to its underlying IPv4 or IPv6 address, and verify that the target IP does not fall within reserved, loopback, link-local, or private RFC 1918 address spaces.
In Media::addFromUrl(), the method accepted three parameters: a mandatory string $url, an optional $filename, and an optional ?string $tag. The method immediately invoked Illuminate\Support\Facades\Http::get($url), which serves as a thin wrapper around the Guzzle HTTP client. Neither Laravel's Http facade nor Guzzle enforces outbound destination filtering by default. Consequently, the underlying cURL handler executed the request against whatever host, port, and path were specified in the $url argument.
Furthermore, the method fails to disable HTTP redirect following. Even if an upstream caller attempted basic string validation on the initial URL before calling addFromUrl(), Guzzle follows HTTP 301, 302, 307, and 308 redirects by default. An attacker could supply a benign external URL under their control that responds with an HTTP 302 redirect pointing to http://127.0.0.1/ or http://169.254.169.254/, bypassing naive pre-invocation hostname checks.
Once the outbound HTTP request completed, addFromUrl() verified whether the response returned an HTTP 2xx status code using $response->successful(). Upon success, it extracted the underlying stream resource via $response->resource() and passed it directly to $this->addFromRaw(). This step converts the vulnerability from a blind SSRF into a full-response (non-blind) SSRF, because addFromRaw() writes the stream contents to the media storage directory where it can be retrieved by the user who initiated the upload.
Examining the vulnerable implementation in src/Flame/Database/Attach/Media.php prior to version 4.4.4 shows how the outbound request and file ingestion were coupled within a single method:
/**
* Creates a file object from url
* @param $url string URL
* @param $filename string Filename
* @throws RuntimeException
*/
public function addFromUrl(string $url, $filename = null, ?string $tag = null): self
{
// 1. Outbound GET request executed with zero validation on $url
$response = Http::get($url);
if (!$response->successful()) {
throw new RuntimeException(sprintf('Error opening file "%s"', $url));
}
// 2. Response stream is passed directly to addFromRaw() and saved to disk
return $this->addFromRaw(
$response->resource(),
!empty($filename) ? $filename : File::basename($url),
$tag,
);
}To remediate the issue in commit 0e185dcfb919abf37a085c517e940c10c9903bba (Pull Request #80), the maintainers evaluated the necessity of the method. Because no first-party component in TastyIgniter utilized addFromUrl(), and implementing robust SSRF mitigations in PHP requires handling DNS rebinding, IPv6-mapped IPv4 addresses, redirect chains, and non-standard IP encodings, the maintainers opted to remove the functionality entirely.
@@ -11,10 +11,8 @@
use Igniter\Flame\Support\Facades\File;
use Illuminate\Filesystem\FilesystemAdapter;
use Illuminate\Support\Carbon;
-use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Storage;
use LogicException;
-use RuntimeException;
use Symfony\Component\HttpFoundation\File\File as SymfonyFile;
use Symfony\Component\HttpFoundation\File\UploadedFile;
@@ -154,26 +152,6 @@ public function addFromRaw(mixed $rawData, string $filename, ?string $tag = null
return $this;
}
- /**
- * Creates a file object from url
- * @param $url string URL
- * @param $filename string Filename
- * @throws RuntimeException
- */
- public function addFromUrl(string $url, $filename = null, ?string $tag = null): self
- {
- $response = Http::get($url);
- if (!$response->successful()) {
- throw new RuntimeException(sprintf('Error opening file "%s"', $url));
- }
-
- return $this->addFromRaw(
- $response->resource(),
- !empty($filename) ? $filename : File::basename($url),
- $tag,
- );
- }
-
//
// Attribute mutators
//In addition to modifying src/Flame/Database/Attach/Media.php, the commit removed the unused Illuminate\Support\Facades\Http and RuntimeException imports, as well as two unit tests (it('throws exception when adding file from unreachable url') and it('adds file from url')) from tests/src/Flame/Database/Attach/MediaTest.php.
From a fix completeness standpoint, removing the vulnerable method completely eliminates the attack surface within Igniter\Flame\Database\Attach\Media. There is no possibility of a filter bypass against addFromUrl() in version 4.4.4 or later because any attempt to invoke $media->addFromUrl() results in a fatal PHP Error (Call to undefined method). The remaining methods in Media.php—such as addFromFile() and addFromRaw()—operate strictly on local SymfonyFile objects, UploadedFile instances, or raw byte streams already loaded in memory, without initiating network connections.
Exploiting CVE-2026-134024 requires a specific precondition: the target TastyIgniter deployment must run a version prior to 4.4.4 and must have an active third-party extension, custom theme, or bespoke controller endpoint that routes user-controlled input into Media::addFromUrl(). In typical restaurant management workflows, this pattern occurs in plugins that allow staff or users to import menu item photographs, restaurant logos, or user avatars via an external URL rather than uploading a local file.
Consider a hypothetical extension controller method that processes a menu item image URL submitted by an authenticated administrator or restaurant manager:
// Vulnerable third-party extension pattern invoking the core gadget
public function importDishImage(Request $request, Menu $menuModel)
{
$imageUrl = $request->input('remote_image_url');
$media = $menuModel->newMediaInstance();
$media->addFromUrl($imageUrl, 'imported-dish.txt');
$media->save();
}When this endpoint is exposed, an attacker with the required privileges to reach the endpoint can submit crafted URLs pointing to internal infrastructure. For example, if the TastyIgniter instance is hosted on an Amazon EC2 instance configured with Instance Metadata Service Version 1 (IMDSv1), the attacker can request the IAM role credentials assigned to the compute instance:
POST /admin/custom-extension/import-image HTTP/1.1
Host: target-restaurant.example.com
Content-Type: application/x-www-form-urlencoded
Cookie: tastyigniter_session=...
remote_image_url=http://169.254.169.254/latest/meta-data/iam/security-credentials/prod-web-roleWhen the application processes this request, Media::addFromUrl() performs an HTTP GET request to 169.254.169.254. Because the metadata service returns an HTTP 200 OK response containing the JSON-formatted temporary AWS credentials (AccessKeyId, SecretAccessKey, and Token), $response->successful() evaluates to true. Furthermore, addFromRaw() does not enforce image MIME-type validation on the ingested stream; it writes the raw JSON payload directly to the partitioned media storage path on disk.
The attacker can then query the media library or inspect the attachment URL associated with the Menu model (for example, /storage/media/attachments/public/65a/1b2/3c4/imported-dish.txt) to download the stored file and retrieve the cleartext cloud credentials. Even if the target service returns an HTTP 4xx or 5xx status code, addFromUrl() throws a RuntimeException containing the error message Error opening file "<url>", allowing an attacker to distinguish between reachable HTTP endpoints returning 200 OK and unreachable or non-200 endpoints during internal port and service enumeration.
CVE-2026-134024 carries a CVSS v3.1 base score of 6.8 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N. The Privileges Required: High (PR:H) metric reflects that media attachment operations in TastyIgniter are typically restricted to authenticated administrative or staff roles managing catalog and store assets. However, if a third-party extension exposes addFromUrl() to unauthenticated customers (such as a customer profile avatar importer), the effective severity in that deployment increases substantially.
The vector specifies Scope: Changed (S:C) and Confidentiality: High (C:H) because the vulnerability allows an attacker to cross the trust boundary of the web application and read data from adjacent network security zones. By pivoting through the TastyIgniter server, an attacker can access resources bound solely to the loopback interface (127.0.0.1), scan internal RFC 1918 networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), read unauthenticated internal APIs (such as local Prometheus metrics, Elasticsearch clusters, or internal management dashboards), and extract cloud provider metadata.
Integrity (I:N) and Availability (A:N) are scored as None in the standard CVSS assessment because Media::addFromUrl() strictly issues an HTTP GET request without attacker-controlled HTTP headers or request bodies. Nevertheless, if an internal microservice accessible from the web host performs state-changing operations via GET parameters, secondary integrity impacts could occur depending on the internal environment.
Threat intelligence tracking indicates low active exploitation risk in the wild. The Exploit Prediction Scoring System (EPSS) assigns CVE-2026-134024 a score of 0.00459 (0.459% probability of exploitation within 30 days, placing it in the 31.78th percentile). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public weaponized exploits exist, largely due to its status as a latent gadget requiring third-party code to become reachable.
To remediate CVE-2026-134024, administrators and developers using TastyIgniter must upgrade the tastyigniter/core package to version 4.4.4 or later. The upgrade removes the Media::addFromUrl() method from the codebase entirely, ensuring that neither core functionality nor third-party extensions can invoke the unvalidated outbound request gadget.
composer update tastyigniter/core --with-dependenciesBefore deploying the upgrade to production environments, engineering teams should audit their installed third-party extensions and custom modules for any references to addFromUrl(. Because version 4.4.4 introduces a breaking API change by deleting the public method without deprecation, any custom plugin invoking $media->addFromUrl() will throw an unhandled Error exception at runtime after upgrading.
grep -rn "addFromUrl" extensions/ app/If custom application logic requires fetching remote media via user-supplied URLs, developers must implement a dedicated download service before passing the validated content stream to Media::addFromRaw(). A secure remote fetcher must enforce the following controls:
parse_url() and strictly allow only http and https schemes.dns_get_record() and verify every returned IPv4 and IPv6 address using filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE). Reject any request resolving to private, loopback, or link-local ranges.curl CURLOPT_RESOLVE option) to prevent Time-of-Check to Time-of-Use (TOCTOU) DNS rebinding attacks, and disable automatic redirect following ('allow_redirects' => false).PUT request to obtain a metadata token—a sequence that cannot be satisfied by a simple GET-based SSRF.CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
TastyIgniter Core (tastyigniter/core) tastyigniter | < 4.4.4 | 4.4.4 |
| Attribute | Detail |
|---|---|
| Vulnerability Class | CWE-918: Server-Side Request Forgery (SSRF) |
| Affected Component | Igniter\Flame\Database\Attach\Media::addFromUrl() |
| CVSS v3.1 Score | 6.8 Medium (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N) |
| EPSS Score | 0.459% (31.78th Percentile) |
| Attack Vector | Network (Latent Gadget via Third-Party Extensions) |
| Primary Impact | Full-Response SSRF / Internal Network & Cloud Metadata Disclosure |
| Exploit Status | No Public Exploits / Unreachable in Default Core Installation |
| Fixed Version | tastyigniter/core >= 4.4.4 |
The web server receives a URL or similar request from an upstream component and retrieves the contents of this specified URL, without sufficiently ensuring that the request is being sent to the expected destination.
Hugo versions 0.152.0 through 0.167.x contain a path traversal and sandbox bypass vulnerability in the module configuration loader. When a root project does not define module replacements, Hugo permits imported themes or modules to define their own module.replacements directives. Because replaced module imports are internally marked as project-replaced, they bypass theme directory path restrictions, allowing an untrusted theme to mount arbitrary host filesystem directories and expand the Node.js read sandbox.
CVE-2026-135388 (GHSA-7c2r-jhm9-43vf) is an improper verification of cryptographic signature vulnerability (CWE-347) in Pion DTLS, a pure Go implementation of Datagram Transport Layer Security (RFC 6347). The vulnerability stems from signature scheme confusion and missing cryptographic parameter binding in the handshake verification functions verifyKeySignature and verifyCertificateVerify. By presenting a genuine peer certificate paired with an incompatible or digest-less signature hash algorithm on the wire, an unauthenticated network adversary can bypass signature verification without possessing the peer's private key. This allows peer impersonation and full compromise of confidentiality and integrity in DTLS-protected channels, including WebRTC sessions utilizing SDP certificate fingerprint verification.
CVE-2026-61832 is a compound vulnerability in NukeViet CMS versions prior to 4.6.00 resulting from disabled TLS certificate validation (CWE-295) in internal HTTP clients and unrestricted PHP deserialization (CWE-502) in administrative extension store handlers. An adversary-in-the-middle (AiTM) attacker can intercept outbound HTTPS connections to the NukeViet extension store API and inject a crafted serialized PHP object. When an administrator interacts with the extension store, the application deserializes the response, triggering an in-tree Property-Oriented Programming (POP) gadget chain in Guzzle to achieve arbitrary file write and remote code execution.
CVE-2026-69217 (also tracked as GHSA-p83c-4wj9-p6w9) is an HTTP request and response smuggling vulnerability in the ember-core module of the http4s Scala library. Prior to versions 0.23.35 and 1.0.0-M47, the HTTP/1.1 message parser failed to reject HTTP messages containing duplicate Content-Length header fields with conflicting values or sign-prefixed numeric values. Instead of returning a 400 Bad Request error as mandated by RFC 9112 Section 6.3, the parser accepted all occurrences sequentially and honored the final Content-Length value, while also permitting negative numbers via Scala's standard string-to-long conversion. When deployed behind a reverse proxy or intermediary that prioritizes the first Content-Length header or handles non-digit characters differently, unauthenticated remote attackers can desynchronize persistent HTTP/1.1 connections to perform web cache poisoning, bypass front-end security controls, and capture cross-user HTTP requests.
CVE-2026-65973 (GHSA-h746-qpxh-ph7g) is a local operating system command injection vulnerability (CWE-78) in the PeteBishwhip/laradocs package for Laravel. Versions from 0.4.0 to before 1.0.0 fail to sanitize or escape the configured Node.js binary path before passing it as part of a command string to PHP's proc_open() function during server-side KaTeX rendering. An attacker with the ability to modify local configuration files or environment variables can inject shell metacharacters to execute arbitrary OS commands under the privileges of the web server process.
A SQL injection vulnerability exists in power-components/livewire-powergrid versions 6.0.0 through 6.10.3. The public Livewire component property sortDirection is interpolated directly into raw SQL ORDER BY clauses during natural sorting operations without prior validation. By clearing the sortField property to bypass standard Laravel query builder protections, an attacker can inject arbitrary SQL expressions via POST requests to the /livewire/update endpoint.