<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chaudhary Usama</title>
    <description>The latest articles on DEV Community by Chaudhary Usama (@chusama).</description>
    <link>https://dev.to/chusama</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2591871%2Fbec82a73-0d6c-455c-8cc4-b8fcaf774547.jpeg</url>
      <title>DEV Community: Chaudhary Usama</title>
      <link>https://dev.to/chusama</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chusama"/>
    <language>en</language>
    <item>
      <title>Laravel 12.72 fixed a signed URL expiry bypass</title>
      <dc:creator>Chaudhary Usama</dc:creator>
      <pubDate>Tue, 17 Nov 2026 13:53:52 +0000</pubDate>
      <link>https://dev.to/chusama/laravel-1272-fixed-a-signed-url-expiry-bypass-2iem</link>
      <guid>https://dev.to/chusama/laravel-1272-fixed-a-signed-url-expiry-bypass-2iem</guid>
      <description>&lt;p&gt;Laravel 12.72 fixed a signed URL expiry bypass. Then query strings broke.&lt;/p&gt;

&lt;p&gt;12.72.0 (Nov 10) includes "Fix temporary signed URL expiration bypass via numeric query-fragment parameter smuggling".&lt;/p&gt;

&lt;p&gt;A follow-up PR hardened another path: if expires arrives as an array, the expiry check treated the URL as never expiring. The signature still has to match, so this is an expiry bypass, not forgery.&lt;/p&gt;

&lt;p&gt;Then an issue reported that 12.72.0 changed how EncodedParameter query strings render in redirects. A fix PR was merged.&lt;/p&gt;

&lt;p&gt;What I would do on a 12.x app this week:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update to 12.72.0 or newer and read the changelog&lt;/li&gt;
&lt;li&gt;Test that an expired signed link returns 403&lt;/li&gt;
&lt;li&gt;Test redirects that carry query strings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Signed links are usually in emails: downloads, invites, confirmations. Nobody notices when they stop expiring.&lt;/p&gt;

&lt;p&gt;Do you test signed URL expiry in CI, or trust the framework?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpm0fsi8bngy736mx3mi8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpm0fsi8bngy736mx3mi8.png" alt=" " width="800" height="852"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Laravel #PHP #BackendEngineering #WebSecurity
&lt;/h1&gt;

</description>
      <category>bug</category>
      <category>laravel</category>
      <category>php</category>
      <category>security</category>
    </item>
  </channel>
</rss>
