CVE-2026-24749
CVE-2026-24749 · Silverstripe Assets Module has a DBFile::getURL() permission bypass
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
silverstripe-assets
- Versions
- < 2.4.5: Affected
- >= 3.0.0-rc1, < 3.1.3: Affected
No fix published
silverstripe/assets Packagist
- Versions
- 1.0.0
- 1.0.0-alpha6
- 1.0.0-alpha7
- 1.0.0-beta1
- 1.0.0-beta2
- 1.0.0-beta3
- 1.0.0-beta4
- 1.0.0-rc1
- 1.0.0-rc2
- 1.0.0-rc3
- 1.0.1
- 1.0.1-rc1
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.1.0
- 1.1.0-rc1
- 1.1.0-rc2
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.10.0
- 1.10.0-beta1
- 1.10.0-rc1
- 1.10.1
- 1.11.0
- 1.11.0-beta1
- 1.11.0-rc1
- 1.11.1
- 1.12.0
- 1.12.0-beta1
- 1.12.0-rc1
- 1.12.1
- 1.13.0
- 1.13.0-beta1
- 1.13.0-rc1
- 1.13.1
- 1.13.10
- 1.13.11
- 1.13.12
- 1.13.2
- 1.13.3
- 1.13.4
- 1.13.5
- 1.13.6
- 1.13.7
- 1.13.8
- 1.13.9
- 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