NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 5.3GHSA-jgcf-rf45-2f8v

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().

Published Apr 16, 2026 · Updated Apr 27, 2026

Affected packages

silverstripe/assets

Ecosystem
Composer (PHP)
Affected
< 2.4.5
Fixed in
2.4.5
Check
composer show silverstripe/assets

silverstripe/assets

Ecosystem
Composer (PHP)
Affected
>= 3.0.0, < 3.1.3
Fixed in
3.1.3
Check
composer show silverstripe/assets

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology