# CVE-2026-121589: Spatie url-signer incorrect type conversion in URL validation

Source: https://junglewise.ai/threats/cve-2026-121589-a-weakness-has-been-identified-in-spatie-url-signer-up-to-2-1-3  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-04. Updated: 2026-11-04  
License: CC BY 4.0 with a link back

CVE-2026-121589 · Severity: medium · CVSS 5.3 · Published 2026-11-04

Spatie url-signer is a PHP library that creates and validates time-limited signed URLs. A type conversion weakness in the validation function allows attackers to bypass URL signature checks by manipulating the expiration parameter, potentially granting unauthorized access to protected resources or actions.

Vendors: [Spatie](https://junglewise.ai/threats/vendors/spatie).

## Quick answers

**Is CVE-2026-121589 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-121589 being exploited in the wild.

**How severe is CVE-2026-121589?** Medium severity, with a CVSS score of 5.3, published 4 November 2026.

**Which products and versions are affected?** Spatie Url-Signer up to 2.1.3.

**Is there a fix for CVE-2026-121589?** Yes: fixed in 2.1.4. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-121589 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-121589?** Check whether you run Spatie Url-Signer at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 2.1.4

## Technical details

The AbstractUrlSigner::validate() function in AbstractUrlSigner.php exhibits incorrect type conversion when processing the 'expires' URL parameter, allowing an attacker to bypass signature validation. The vulnerability is remotely exploitable without authentication and impacts URL validation logic. An attacker can craft a malformed 'expires' parameter to manipulate type conversion behavior and forge valid signatures.

## Affected products

- Spatie url-signer up to 2.1.3

## Timeline

- 2026-11-04: disclosed
- 2026-11-04: patched: Patch 86af3355388210668f6bfbe9007bd6545d4942ad rejects malformed signed URL parameters

## References

- [https://github.com/spatie/url-signer/](https://github.com/spatie/url-signer/)
- [https://github.com/spatie/url-signer/commit/86af3355388210668f6bfbe9007bd6545d4942ad](https://github.com/spatie/url-signer/commit/86af3355388210668f6bfbe9007bd6545d4942ad)
