CVE-2026-24749
MEDIUM 5.3CVSS 3.1Silverstripe Assets Module has a DBFile::getURL() permission bypass
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.
- Published
- 16 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-266CWE-863
- Also known as
- GHSA-jgcf-rf45-2f8v
- Sources
- NVDJSONOSV GHSA-jgcf-rf45-2f8vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | silverstripe/assets | < 2.4.5 | 2.4.5 |
| OSV | Packagist | silverstripe/assets | >= 3.0.0, < 3.1.3 | 3.1.3 |
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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 16 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Apr 2026)