# GHSA-crmm-hgp2-wgrp: Laravel Framework: Temporary Signed URL Path Confusion

> Attackers can bypass expiration checks on signed URLs and potentially write to unintended locations due to path parsing ambiguities in Laravel's local filesystem driver.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 17 Jun 2026

## What is GHSA-crmm-hgp2-wgrp?

GHSA-crmm-hgp2-wgrp is a vulnerability in laravel/framework, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A vulnerability in Laravel's local filesystem driver allows temporary signed URLs to be parsed ambiguously, potentially misrouting requests and bypassing expiration enforcement.

Under certain conditions, a generated temporary signed URL can be interpreted differently by the server than intended at signing time. This may cause requests to resolve to an unintended resource, and can prevent expiration from being enforced, allowing expired URLs to remain valid indefinitely.

### Impact
- Expired temporary URLs may continue to be accepted
- Requests may resolve to a different resource than the one that was signed
- The upload variant may allow writes to reach an unintended destination

## Which versions are affected by GHSA-crmm-hgp2-wgrp?

4 open source packages ship an affected version, including laravel/framework.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `laravel/framework` | Packagist | All versions | 12.61.1 |
| `laravel/framework` | Packagist | All versions | 12.61.1 |
| `laravel/framework` | Packagist | From 13.0.0 | 13.12.0 |
| `laravel/framework` | Packagist | From 13.0.0 | 13.12.0 |

## How do I fix GHSA-crmm-hgp2-wgrp?

Upgrade laravel/framework to a fixed version for your release line: 12.61.1 or 13.12.0.

## Is GHSA-crmm-hgp2-wgrp being exploited?

There is no known exploitation of GHSA-crmm-hgp2-wgrp in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-crmm-hgp2-wgrp and fix it if it is affected.

What it is: GHSA-crmm-hgp2-wgrp is a vulnerability in laravel/framework, published on 17 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-crmm-hgp2-wgrp in the wild and no public exploit code.

Affected packages and fixed versions:
- laravel/framework (Packagist): affected all versions; fixed in 12.61.1
- laravel/framework (Packagist): affected all versions; fixed in 12.61.1
- laravel/framework (Packagist): affected from 13.0.0; fixed in 13.12.0
- laravel/framework (Packagist): affected from 13.0.0; fixed in 13.12.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-crmm-hgp2-wgrp/ (Markdown: https://insights.sbomify.com/GHSA-crmm-hgp2-wgrp/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-crmm-hgp2-wgrp

---
From sbomify Insights: https://insights.sbomify.com/GHSA-crmm-hgp2-wgrp/
Summaries are generated and may contain mistakes; the official description above is the record.
