Skip to main content
← All vulnerabilities
CVE-2026-24749GHSA-JGCF-RF45-2F8V

Silverstripe Assets Module has a DBFile::getURL() permission bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.5, 3.1.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The Silverstripe Assets Module is a required component of Silverstripe Framework. In versions prior to 2.4.5 and 3.0.0-rc1 through 3.1.2, images rendered in templates or otherwise accessed via DBFile::getURL() or DBFile::getSourceURL() incorrectly add an access grant to the current session, which bypasses file permissions. This usually happens when creating an image variant, for example using a manipulation method like ScaleWidth() or Convert(). Note that if developers use DBFile directly in the $db configuration for a DataObject class that doesn't subclass File, and if they were setting the visibility of those files to "protected", those files will now need an explicit access grant to be accessed. If developers do not want to explicitly provide access grants for these files in their apps (i.e. they want these files to be accessible by default), they should use the "public" visibility. This issue has been fixed in versions 2.4.5 and 3.1.3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • silverstripe silverstripe-assets

    fixed in 2.4.5; From 3.0.0-rc1 · fixed in 3.1.3

  • silverstripe/assetsPackagist

    fixed in 2.4.5

  • silverstripe/assetsPackagist

    From 3.0.0 · fixed in 3.1.3

References 2

GitHub · silverstripe/silverstripe-assets

silverstripe.org