# CVE-2026-24749: Silverstripe Assets Module has a DBFile::getURL() permission bypass

Source: https://junglewise.ai/threats/cve-2026-24749-silverstripe-assets-module-has-a-dbfile-geturl-permission-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-16. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-24749 · Severity: medium · CVSS 5.3 · Published 2026-04-16

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.

Technologies: [silverstripe/assets (Packagist)](https://junglewise.ai/threats/technologies/silverstripe-assets). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

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

**How severe is CVE-2026-24749?** Medium severity, with a CVSS score of 5.3, published 16 April 2026.

**Which products and versions are affected?** silverstripe/assets (Packagist) ECOSYSTEM:introduced=0,fixed=2.4.5.

**Is there a fix for CVE-2026-24749?** Yes. silverstripe/assets (Packagist): upgrade to 2.4.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-24749?** Check whether you run silverstripe/assets (Packagist) 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

- silverstripe/assets (Packagist): upgrade to 2.4.5 or later

  ```sh
  composer require silverstripe/assets:^2.4.5
  ```


## Affected products

- silverstripe/assets (Packagist) ECOSYSTEM:introduced=0,fixed=2.4.5

## Identifiers

- CVE-2026-24749
- GHSA-jgcf-rf45-2f8v

## References

- [https://github.com/silverstripe/silverstripe-assets/security/advisories/GHSA-jgcf-rf45-2f8v](https://github.com/silverstripe/silverstripe-assets/security/advisories/GHSA-jgcf-rf45-2f8v)
- [https://www.silverstripe.org/download/security-releases/cve-2026-24749](https://www.silverstripe.org/download/security-releases/cve-2026-24749)
- [https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2026-24749.yaml](https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2026-24749.yaml)
- [https://api.github.com/repos/silverstripe/silverstripe-assets/security-advisories/GHSA-jgcf-rf45-2f8v](https://api.github.com/repos/silverstripe/silverstripe-assets/security-advisories/GHSA-jgcf-rf45-2f8v)

## Related threats

- [Silverstripe XSS in shortcodes](https://junglewise.ai/threats/cve-2022-38724-silverstripe-xss-in-shortcodes)
- [XSS via uploaded gpx file](https://junglewise.ai/threats/cve-2022-38147-xss-via-uploaded-gpx-file)
- [Unpublished, protected files can be published via shortcode](https://junglewise.ai/threats/cve-2022-29858-unpublished-protected-files-can-be-published-via-shortcode)
- [SilverStripe Folders migrated from 3.x may be unsafe to upload to](https://junglewise.ai/threats/cve-2020-9280-silverstripe-folders-migrated-from-3-x-may-be-unsafe-to-upload-to)
- [Lack of access control on upoaded files](https://junglewise.ai/threats/cve-2019-12245-lack-of-access-control-on-upoaded-files)
