CVE-2026-121589

spatie url-signer URL Validation AbstractUrlSigner.php validate type conversion

Published Nov 3, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A weakness has been identified in spatie url-signer up to 2.1.3. Affected is the function AbstractUrlSigner::validate of the file AbstractUrlSigner.php of the component URL Validation. This manipulation of the argument expires causes incorrect type conversion. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 2.1.4 is able to address this issue. Patch name: 86af3355388210668f6bfbe9007bd6545d4942ad. It is recommended to upgrade the affected component.

Analysis

AI-generated

Technical impact

The vulnerability resides in the AbstractUrlSigner::validate method of spatie/url-signer prior to version 2.1.4. Manipulating the expires argument triggers an incorrect type conversion, which allows an attacker to craft URLs that bypass proper expiration checks. The flaw can be triggered from a remote source, and a publicly available exploit demonstrates that attackers can forge URLs that may grant unauthorized access to protected resources.

Affected Systems

Affected systems are installations of the spatie/url-signer component, version 2.1.3 and older. Versions 2.1.4 and later include the fix.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it is not yet widely exploited in the wild. However, a public exploit exists and the issue can be triggered remotely, raising concern for deployments that rely on stale signing logic. The lack of a known KEV entry and the absence of EPSS data means the risk level is moderate, but immediate attention is advised for environments that use the affected URL signer.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade spatie/url-signer to version 2.1.4 or newer.
  • Review all code paths that invoke URL signing and ensure that the expires parameter is passed as the intended type to avoid future type conversion issues.
  • Enforce strict validation of the expires parameter on the server side, verifying that it is an integer within an acceptable range before cryptographic verification.

Generated by OpenCVE AI on November 4, 2026 at 08:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A weakness has been identified in spatie url-signer up to 2.1.3. Affected is the function AbstractUrlSigner::validate of the file AbstractUrlSigner.php of the component URL Validation. This manipulation of the argument expires causes incorrect type conversion. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 2.1.4 is able to address this issue. Patch name: 86af3355388210668f6bfbe9007bd6545d4942ad. It is recommended to upgrade the affected component.
Title spatie url-signer URL Validation AbstractUrlSigner.php validate type conversion
First Time appeared Spatie
Spatie url-signer
Weaknesses CWE-704
CPEs cpe:2.3:a:spatie:url-signer:*:*:*:*:*:*:*:*
Vendors & Products Spatie
Spatie url-signer
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-704

    Incorrect Type Conversion or Cast

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 9, 2026, 3:58 PM
Reserved
Nov 3, 2026, 4:00 PM
Status
Deferred
Published
Nov 4, 2026, 12:17 AM
Modified
Nov 9, 2026, 4:17 PM