CVE-2026-77380: Server-Side Request Forgery via Unchecked Redirects in Bolt CMS
Vulnerability ID: CVE-2026-77380
CVSS Score: 5.2
Published: 2026-11-20
Bolt CMS prior to version 6.1.5 is vulnerable to Server-Side Request Forgery (SSRF) in its asynchronous URL upload and media embed endpoints. While the application validates the initial user-supplied URL against internal network ranges using UrlSafetyChecker, the underlying HTTP transport libraries automatically follow HTTP 3xx redirects and HTML meta refresh directives without re-validating the target destinations. An authenticated user with editor privileges can exploit this discrepancy via an open redirector or DNS rebinding to access internal network resources and cloud metadata services.
TL;DR
Authenticated users with ROLE_EDITOR permissions in Bolt CMS (< 6.1.5) can bypass URL safety checks on the /bolt/async/upload-url and /bolt/async/embed endpoints by supplying a public URL that redirects to internal or link-local IP addresses, resulting in Server-Side Request Forgery (CWE-918).
Technical Details
- Vulnerability Type: Server-Side Request Forgery (CWE-918)
- Affected Component: bolt/core (EmbedController & UploadController)
- Vulnerable Endpoints: /bolt/async/embed, /bolt/async/upload-url
- CVSS v3.1 Score: 5.2 Medium (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N)
- Authentication Required: Yes (ROLE_EDITOR / upload or fetch_embed_data permission)
- Patched Version: bolt/core 6.1.5
- Exploit Status: No known public exploits or active exploitation
- CISA KEV Status: Not Listed
Affected Systems
- Bolt CMS (bolt/core)
-
bolt/core: < 6.1.5 (Fixed in:
6.1.5)
Code Analysis
Commit: 41d7aaf
fix(security): re-validate every hop when fetching remote URLs
--- a/src/Controller/Backend/Async/EmbedController.php
+++ b/src/Controller/Backend/Async/EmbedController.php
@@ -7,20 +7,28 @@
use Bolt\Controller\CsrfTrait;
use Bolt\Utils\UrlSafetyChecker;
use Embed\Embed as EmbedFactory;
-use Psr\Http\Client\RequestExceptionInterface;
+use Embed\Http\Crawler;
+use Symfony\Component\HttpClient\NoPrivateNetworkHttpClient;
+use Symfony\Component\HttpClient\Psr18Client;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Security\Core\Exception\InvalidCsrfTokenException;
use Symfony\Component\Security\Http\Attribute\IsGranted;
+use Symfony\Contracts\HttpClient\HttpClientInterface;
use Throwable;
#[IsGranted(attribute: 'fetch_embed_data')]
class EmbedController implements AsyncZoneInterface
{
use CsrfTrait;
+ public function __construct(
+ private readonly HttpClientInterface $httpClient
+ ) {
+ }
+
#[Route(path: '/embed', name: 'bolt_async_embed', methods: [Request::METHOD_POST])]
public function fetchEmbed(Request $request): JsonResponse
{
@@ -49,7 +57,13 @@ public function fetchEmbed(Request $request): JsonResponse
}
try {
- $info = (new EmbedFactory())->get($url);
+ $client = new Psr18Client(new NoPrivateNetworkHttpClient($this->httpClient));
+ $info = (new EmbedFactory(new Crawler($client)))->get($url);
Mitigation Strategies
- Upgrade bolt/core to version 6.1.5 or later to enforce per-hop IP validation via Symfony's NoPrivateNetworkHttpClient.
- Block access to /bolt/async/upload-url and /bolt/async/embed at the reverse proxy or WAF level if remote URL fetching is not needed.
- Enforce IMDSv2 (token-required metadata access) on cloud compute instances to prevent credential theft via GET-based SSRF.
- Implement outbound egress firewall rules restricting the web server runtime from connecting to RFC 1918 private ranges, loopback addresses, and link-local subnets.
Remediation Steps:
- Verify the currently installed version of bolt/core by running: composer show bolt/core
- Update bolt/core to version 6.1.5 or higher by executing: composer update bolt/core
- Clear the Symfony application cache in the production environment: php bin/console cache:clear --env=prod
- Audit user accounts in the Bolt CMS backend to ensure only trusted users possess ROLE_EDITOR or permissions for 'upload' and 'fetch_embed_data'.
References
- GitHub Security Advisory: GHSA-3xjf-9q55-vxw4
- Fix Commit: re-validate every hop when fetching remote URLs
- Bolt Core Release 6.1.5
- Pull Request #4: SSRF Redirect Fix
- NVD - CVE-2026-77380
- CVE.org Record: CVE-2026-77380
- CVEListV5 Record JSON: CVE-2026-77380
Read the full report for CVE-2026-77380 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)