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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-04-16T17:08:59.133Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-jgcf-rf45-2f8v
- Weaknesses: CWE-266, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- silverstripe silverstripe-assets: < 2.4.5; >= 3.0.0-rc1, < 3.1.3
- silverstripe/assets (Packagist): before 2.4.5; from 3.0.0 before 3.1.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/silverstripe/silverstripe-assets/security/advisories/GHSA-jgcf-rf45-2f8v> (web)
- <https://www.silverstripe.org/download/security-releases/cve-2026-24749> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24749> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2026-24749.yaml> (web)
- <https://github.com/silverstripe/silverstripe-assets> (package)

## Sources

- CVE List: [CVE-2026-24749](https://www.cve.org/CVERecord?id=CVE-2026-24749), CVE Terms of Use, modified 2026-04-18
- GitHub Advisory Database: [GHSA-jgcf-rf45-2f8v](https://github.com/advisories/GHSA-jgcf-rf45-2f8v), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-24749](https://nvd.nist.gov/vuln/detail/CVE-2026-24749), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-24749 · Whole record: https://cve.day/CVE-2026-24749.json · Rebuilt by cve.day 2026-11-25T22:59:18.909Z
