Medium

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

  • Disclosed: 16.04.2026
  • Updated: 11.10.2026 10:22

Impact

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 you use DBFile directly in the $db configuration for a DataObject class that doesn't subclass File, and if you were setting the visibility of those files to "protected", those files will now need an explicit access grant to be accessed. If you do not want to explicitly provide access grants for these files (i.e. you want these files to be accessible by default), you should use the "public" visibility.

Reported by

Restruct web & apps

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package silverstripe/assets < 2.4.5, >= 3.0.0, < 3.1.3 2.4.5, 3.1.3

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-266, CWE-863
Platform
Composer
Package
silverstripe/assets
Disclosed
16.04.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-jgcf-rf45-2f8v - CC BY 4.0

Vulnerability history: silverstripe/assets

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
11.2019 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 5

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 4
  5. 2023: 0
  6. 2024: 0
  7. 2025: 0
  8. 2026: 1
  1. Silverstripe Assets Module has a DBFile::getURL() permission bypass this entry
    Medium · 5.3 CVE-2026-24749 < 2.4.5, >= 3.0.0, < 3.1.3 2.4.5, 3.1.3
  2. Medium · 5.4 CVE-2022-38724 >= 1.0.0, < 1.11.1 1.11.1
  3. Medium · 5.4 CVE-2022-38147 >= 1.0.0, < 1.11.1 1.11.1
  4. Medium · 4.3 CVE-2022-29858 >= 1.0.0, < 1.10.1 1.10.1
  5. High · 7.5 CVE-2020-9280 >= 1.0.0, < 1.4.7, >= 1.5.0, < 1.5.2 1.4.7, 1.5.2
  6. Medium · 5.3 CVE-2019-12245 >= 1.0.0, < 1.3.5, >= 1.4.0, < 1.4.4 1.3.5, 1.4.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.