Em resumo
- CVE-2026-24749 é uma vulnerabilidade MÉDIO (CVSS 5.3) que afeta silverstripe/assets.
- Chance de exploração nos próximos 30 dias (EPSS): 0.40%, maior que 34.1% das vulnerabilidades.
- Correção: atualize para 3.1.3, 2.4.5 ou posterior.
| Package | Affected versions | Patched versions |
|---|
| silverstripe/assets Packagist | ≥ 3.0.0, < 3.1.3< 2.4.5
| 3.1.32.4.5
|
Description
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
NVD 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.
Mais vulnerabilidades de silverstripe/assets
Ver tudo →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free